Re: DMD on linux? (more problems)
== Quote from Jesse Phillips (jessekphillip...@gmail.com)'s article Sean Eskapp Wrote: I'm still having issues with the linux dmd. Here's the relevant part of the output: ... function func function func gcc Nullimorphism.o -o Nullimorphism.exe -g -m32 -l -Xlinker - L/usr/lib32 -Xlinker -L/usr/lib64 -Xlinker --no-warn-search- mismatch -Xlinker --export-dynamic -lrt -lphobos2 -lpthread -lm /usr/bin/ld: cannot find -l-Xlinker collect2: ld returned 1 exit status --- errorlevel 1 make[1]: *** [all] Error 1 make[1]: Leaving directory ... Any help is appreciated. I think the part LD is tripping up on is -m32 -l -Xlinker So it seems you are calling dmd incorrectly or modified dmd.conf incorrectly as there is no argument after -l so LD thinks you want to link against lib-Xlinker. Oops yeah, there was some obsolete in the makefile in my project. Don't know how it managed to compile on windows, though.. Thanks, though, problem solved.
DMD on linux? (more problems)
I'm still having issues with the linux dmd. Here's the relevant part of the output: ... function func function func gcc Nullimorphism.o -o Nullimorphism.exe -g -m32 -l -Xlinker - L/usr/lib32 -Xlinker -L/usr/lib64 -Xlinker --no-warn-search-mismatch -Xlinker --export-dynamic -lrt -lphobos2 -lpthread -lm /usr/bin/ld: cannot find -l-Xlinker collect2: ld returned 1 exit status --- errorlevel 1 make[1]: *** [all] Error 1 make[1]: Leaving directory ... Any help is appreciated.
Re: DMD on linux? (more problems)
On 2011-03-03 00:43, Sean Eskapp wrote: I'm still having issues with the linux dmd. Here's the relevant part of the output: ... function func function func gcc Nullimorphism.o -o Nullimorphism.exe -g -m32 -l -Xlinker - L/usr/lib32 -Xlinker -L/usr/lib64 -Xlinker --no-warn-search-mismatch -Xlinker --export-dynamic -lrt -lphobos2 -lpthread -lm /usr/bin/ld: cannot find -l-Xlinker collect2: ld returned 1 exit status --- errorlevel 1 make[1]: *** [all] Error 1 make[1]: Leaving directory ... Any help is appreciated. You can give this a try: https://bitbucket.org/doob/dvm/wiki/Home -- /Jacob Carlborg