[ros-dev] about rules.mak, a small bug fixed
LiGen
13574849558 at hnmcc.com
Thu May 5 20:00:34 CEST 2005
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 -
I. -I../../include -I../../w32api/include -pipe -march=i486 -D_M_IX86 -Os
-Wno-s
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-1.0.10
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://reactos.com:8080/pipermail/ros-dev/attachments/20050505/1f9221ab/attachment.htm
More information about the Ros-dev
mailing list