dmd or phobos were broken in ubuntu 16.10 d-apt

Daniel Kozak via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 21 04:00:48 PDT 2016


Dne 21.10.2016 v 12:59 Daniel Kozak napsal(a):

>
>
> 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

or maybe there is another one dmd.conf somewhere in dmd source (in place 
where your new dmd binary is)



More information about the Digitalmars-d mailing list