On 2013-11-02 15:45, Iain Buclaw wrote:

Really?  I thought that was dmd.conf telling the compiler to do that....

No, linking with libphobos2, libpthread and libm is hard coded into DMD. The command used to link:

gcc main.o -o main -m64 -L/Users/doob/.dvm/compilers/dmd-2.063.2/bin/../lib -lphobos2 -lpthread -lm

My dmd.conf file:

[Environment]

DFLAGS=-I%@P%/../imports -I%@P%/../src/phobos -I%@P%/../src/druntime/import -L-L%@P%/../lib

--
/Jacob Carlborg

Reply via email to