From 54f03529dbb034781690c63203927c55d930f2e1 Mon Sep 17 00:00:00 2001 From: gibbed Date: Sun, 7 Jun 2015 06:47:10 -0500 Subject: [PATCH] Show linker errors when assembling tests. --- xb.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xb.bat b/xb.bat index 683be495d..2b26ad18b 100644 --- a/xb.bat +++ b/xb.bat @@ -334,7 +334,7 @@ FOR %%G in (*.s) DO ( REM Eat the first 4 lines to kill the file path that'll differ across machines. MORE +4 %TEST_BIN_WIN%\!SRC_NAME!.dis.tmp > %TEST_BIN_WIN%\!SRC_NAME!.dis DEL %TEST_BIN_WIN%\!SRC_NAME!.dis.tmp - %PPC_LD% -A powerpc:common32 -melf32ppc -EB -nostdlib --oformat binary -Ttext 0x80000000 -e 0x80000000 -o %TEST_BIN%/!SRC_NAME!.bin !OBJ_FILE! + CMD /c %PPC_LD% -A powerpc:common32 -melf32ppc -EB -nostdlib --oformat binary -Ttext 0x80000000 -e 0x80000000 -o %TEST_BIN%/!SRC_NAME!.bin !OBJ_FILE! 2>&1 IF !ERRORLEVEL! NEQ 0 ( SET ANY_ERRORS=1 )