[ros-dev] about rules.mak, a small bug fixed

Hartmut Birr hartmut.birr at gmx.de
Thu May 5 14:32:26 CEST 2005


Your patch breaks compiling on windows without msys. I've commit a
different fix which will solve your problem. There does exist one
problem, it isn't possible to build the bootcd. There is somewhere a
'c:/..' on the path, which isn't correct within a simulated posix system
like msys.

- Hartmut

LiGen wrote:

> 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
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Ros-dev mailing list
>Ros-dev at reactos.com
>http://reactos.com:8080/mailman/listinfo/ros-dev
>



More information about the Ros-dev mailing list