digitalmars.D.learn - Problem building dmd d_do_test tool - missing link operand
- Nick Treleaven (31/31) Sep 27 2014 Hi,
- Nick Treleaven (3/10) Sep 27 2014 Found the problem - I'd accidentally commented out this line from sc.ini...
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: $ 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 -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?
Sep 27 2014
On 27/09/2014 12:59, Nick Treleaven wrote:$ 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
Sep 27 2014