This patch breaks building on non-msys windows:
C:\cvs\reactos>make mkdir up/obj-i386 The syntax of the command is incorrect. make: [up/obj-i386] Error 1 (ignored) mkdir up/obj-i386\tools The syntax of the command is incorrect. make: [up/obj-i386\tools] Error 1 (ignored) mkdir up/obj-i386\tools\rbuild The syntax of the command is incorrect. make: [up/obj-i386\tools\rbuild] Error 1 (ignored) mkdir up/obj-i386\tools\rbuild\backend The syntax of the command is incorrect. make: [up/obj-i386\tools\rbuild\backend] Error 1 (ignored) mkdir up/obj-i386\tools\rbuild\backend\mingw The syntax of the command is incorrect. make: [up/obj-i386\tools\rbuild\backend\mingw] Error 1 (ignored) g++ -Itools\rbuild -Wall -Wpointer-arith -c tools\rbuild\backend\mingw\mingw.cpp -o up/obj-i386\tools\rbuild\backend\mingw\mingw.o Assembler messages: FATAL: can't create up/obj-i386\tools\rbuild\backend\mingw\mingw.o: No such file or directory make: *** [up/obj-i386\tools\rbuild\backend\mingw\mingw.o] Error 1
Hartmut Birr wrote:
Hi,
I've changed rbuild a little bit, that it can run on msys (on windows). The major changes are:
- The separator (slash or back slash), exepostfix and exeprefix are
initialized from environment variables.
- The separators in the path for the system command are always
converted for the host system.
- Our own build utilities must convert paths itself (bin2res).
It exist some problems with absolute paths on msys, because msys uses '/c/foo/bar' and windows 'c:\foo\bar' or 'c:/foo/bar'.
I've tested the patch on msys and on windows. I cannot test the patch on linux.
Currently, msys is the only way to use all cpus or cores for the build process on windows.
- Hartmut
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev