DMD on linux?

Sean Eskapp eatingstaples at gmail.com
Wed Mar 2 13:52:29 PST 2011


I'm trying to work with D on Ubuntu, but I keep having this issue:

...
function  func
function  func
gcc Nullimorphism.o -o Nullimorphism.exe -g -m32 -l -Xlinker -L/usr/bin/../lib32 -Xlinker -
L/usr/bin/../lib64 -Xlinker --no-warn-search-mismatch -Xlinker --export-dynamic -lrt -
lphobos2 -lpthread -lm
/usr/bin/ld: cannot find -l-Xlinker
/usr/bin/ld: cannot find -lphobos2
collect2: ld returned 1 exit status
--- errorlevel 1
make[1]: *** [all] Error 1
...

I downloaded the DMD v2.052 ZIP from the download page, extracted the linux/bin folder into
/usr/bin, the linux/lib64 folder into /usr/lib64, and the src folder into /usr/src. Can
somebody please help?


More information about the Digitalmars-d-learn mailing list