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