On 02/03/11 21:52, Sean Eskapp wrote:
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?
See also: http://ftp.digitalmars.com/dmd_2.052-0_i386.deb for everything
to work out of the box.
--
Robert
http://octarineparrot.com/