Problem building dmd d_do_test tool - missing link operand
Nick Treleaven via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Sep 27 04:59:37 PDT 2014
Hi,
I used to run the ddoc tests with no problem, but for the last month or
so I ran into problems building the d_do_test tool from latest Git dmd.
(As I didn't need the latest dmd at the time, I just used an older one
for a while).
Maybe I'm doing something wrong with my build setup for
dmd/druntime/phobos, or maybe it's something else. Here's the output:
# in dmd/test
$ make DMD=../src/dmd.exe QUIET=''
Building d_do_test tool
OS: win32
../src/dmd.exe -m32 -unittest -run d_do_test.d -unittest
/usr/bin/link: missing operand after `d_do_test,,nul,user32+kernel32/noi;'
Try `/usr/bin/link --help' for more information.
DMD v2.067 DEBUG
--- errorlevel 1
make: *** [test_results/d_do_test.exe] Error 1
If I comment out the d_do_test unittest line in dmd/test/Makefile:
$ make DMD=../src/dmd.exe QUIET=''
Building d_do_test tool
OS: win32
#../src/dmd.exe -m32 -unittest -run d_do_test.d -unittest
../src/dmd.exe -m32 -odtest_results -oftest_results\\d_do_test.exe
d_do_test.d
/usr/bin/link: missing operand after
`test_results\\d_do_test,test_results\\d_do_test.exe,nul,user32+kernel32/noi;'
Try `/usr/bin/link --help' for more information.
DMD v2.067 DEBUG
--- errorlevel 1
make: *** [test_results/d_do_test.exe] Error 1
Any ideas?
More information about the Digitalmars-d-learn
mailing list