strange -fPIC compilation error

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 1 00:52:05 PDT 2016


On Tuesday, 1 November 2016 at 07:15:19 UTC, Mike Parker wrote:
>> but
>> dmd -defaultlib=libphobos2.so -fPIC test.d
>> works.  It shouldn't be required (as in the default 
>> /etc/dmd.conf should handle it correctly, but I can deal with 
>> it now.

Can this be fed as parameters to the DMD call (programmatically) 
instead of manual editing of dmd.conf?


More information about the Digitalmars-d-learn mailing list