When I compile reactos, I find a problem, my make
report:
string: [DEPENDS] i386/.wcsrchr.d
/bin/sh.exe: ....toolsdepends.exe: command not found
make[1]: *** [i386/.wcsrchr.d] Error 127
make: *** [string] Error 2
I find the problem is that sh.exe ignored ¡°\¡±.
The command line is :
@gcc -Wall -Werror -D_DISABLE_TIDENTS -D__USE_W32API
-fno-strict-aliasing -O6 -
trict-aliasing -ftracer -momit-leaf-frame-pointer -mpreferred-stack-boundary=2
-
funit-at-a-time -fweb -g -M i386/wcsrchr.s |
..\..\tools\depends.exe i386 i386/.
wcsrchr.d
And ¡°..\..\tools\depends.exe¡± was changed into
¡°....tools\depends.exe¡± by sh.exe
My msys is MSYS-
So I made a patch on rules.mak , and the problem
solved .
F:\SVNReactos\reactos>svn diff rules.mak
Index: rules.mak
===================================================================
--- rules.mak ï¼?ä¿?订ç??
14957ï¼?
+++ rules.mak ï¼?å·¥ä????·è??ï¼?
@@ -122,7 +122,7 @@
export NASM_CMD = $(Q)nasmw
export DOSCLI = yes
export FLOPPY_DIR = A:
-export SEP := \$(EMPTY_VAR)
+export SEP := /$(EMPTY_VAR)
export PIPE := -pipe
endif