fPIC Error
Charles Hixson via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Nov 19 13:14:47 PST 2016
On 11/18/2016 10:35 PM, deadalnix via Digitalmars-d-learn wrote:
> 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.
IIRC, LDC didn't have that problem. I don't remember testing gdc. But,
yes, it is quite annoying.
More information about the Digitalmars-d-learn
mailing list