dmd or phobos were broken in ubuntu 16.10 d-apt

Daniel Kozak via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 21 03:59:29 PDT 2016



Dne 21.10.2016 v 12:53 mogu via Digitalmars-d napsal(a):
> On Friday, 21 October 2016 at 10:05:40 UTC, Daniel Kozak wrote:
>> Or you can build your own version of dmd with PIC enabled and add 
>> -fPIC to /etc/dmd.conf
>
> I rebuilded phobos and druntime with -fPIC and replaced the static 
> libphobos2.a. Now it works well. But I have to specified -fPIC to dmd 
> each time to build. Should dmd make -fPIC the default?

read my message again:

add -fPIC to /etc/dmd.conf

this should help


More information about the Digitalmars-d mailing list