September 27, 2014 Problem building dmd d_do_test tool - missing link operand | ||||
---|---|---|---|---|
| ||||
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? |
September 27, 2014 Re: Problem building dmd d_do_test tool - missing link operand | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Treleaven | On 27/09/2014 12:59, Nick Treleaven wrote:
> # 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.
Found the problem - I'd accidentally commented out this line from sc.ini:
LINKCMD=C:\D\dm\bin\link.exe
|
Copyright © 1999-2021 by the D Language Foundation