linker query

Ty Tower tytower at hotmail.com.au
Sat Feb 16 13:36:51 PST 2008


I notice my libraries are called 
libphobos.a
libtango-base-dmd.a
libtangobos.a
etc

So when I compile a program with dmd the command put out is so
dmd MyStuff/main.d
gcc main.o -o main -m32 -Xlinker -L/usr/bin/../lib -ltango-user-dmd -ltango-base-dmd -lpthread -lm


so with the "-l" switch above  , does that get converted internally  to the prefix "lib"  ? 



More information about the Digitalmars-d-learn mailing list