fPIC Error

deadalnix via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Nov 18 22:35:26 PST 2016


On Thursday, 3 November 2016 at 06:11:48 UTC, rikki cattermole 
wrote:
> [Environment32]
> DFLAGS=-I/usr/include/dmd/phobos 
> -I/usr/include/dmd/druntime/import -L-L/usr/lib/i386-linux-gnu 
> -L--export-dynamic -fPIC -defaultlib=libphobos2.so
>
> [Environment64]
> DFLAGS=-I/usr/include/dmd/phobos 
> -I/usr/include/dmd/druntime/import 
> -L-L/usr/lib/x86_64-linux-gnu -L--export-dynamic -fPIC 
> -defaultlib=libphobos2.so

I'm sorry bit that's horseshit. I'm not compiling everything with 
fPIC because DMD can't get it's act straight.



More information about the Digitalmars-d-learn mailing list