I want to build. revision 18766 of ReactOS I typed in mingw32-make bootcd in my MSYS window but GCC (both, 3.4.2 and 3.4.4) return these errors in mingw.cpp: [CC] toolsrbuildbackendmingwmingw.cpp tools\rbuild\backend\mingw\mingw.cpp:18:23: ../../pch.h: No such file or directory . . . When I replace "#include "../../pch.h" with "#include "pch.h", the erros does not occur any more. This error occurs also in other files and its just the same so I only write what I replaced with what in which file(the base dir I am using for this is tools\rbuild: backend/mingw/mingw.h: #include "../backend.h" -> #include "backend/backend.h" backend\mingw/modulehandler.h #include "../backend.h" -> #include "backend/backend.h" backend/mingw/mingwmodulehandler.cpp: #include "../../pch.h" -> #include "pch.h" #include "../../rbuild.h" -> #include "rbuild.h" backend/mingw/proxymakefile.cpp: #include "../../pch.h" -> #include "pch.h" backend\devcpp/devcpp.h: #include "../backend.h" -> #include "backend/backend.h" backend\msvc/genguid.cpp: #include "../../pch.h" -> #include "../../../pch.h" backend\msvc/msvc.h: #include "../backend.h" -> #include "../../backend.h" backend\msvc/msvc.cpp: #include "../mingw/mingw.h" -> #include "../../mingw/mingw.h" backend\backend.cpp: #include "../pch.h" -> #include "pch.h" #include "../rbuild.h" -> #include "rbuild.h" backend\backend.h: #include "../rbuild.h" -> #ifndef __MSVC_H__ #include "rbuild.h" #else #include "../rbuild.h" #endif
Now building rbuild works.
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
--- tobitosso patriciak784-ros@yahoo.de schrieb:
I want to build. revision 18766 of ReactOS I typed in mingw32-make bootcd in my MSYS window but GCC (both, 3.4.2 and 3.4.4) return these errors in mingw.cpp: [CC] toolsrbuildbackendmingwmingw.cpp tools\rbuild\backend\mingw\mingw.cpp:18:23: ../../pch.h: No such file or directory . . . When I replace "#include "../../pch.h" with "#include "pch.h", the erros does not occur any more. This error occurs also in other files and its just the same so I only write what I replaced with what in which file(the base dir I am using for this is tools\rbuild: backend/mingw/mingw.h: #include "../backend.h" -> #include "backend/backend.h" backend\mingw/modulehandler.h #include "../backend.h" -> #include "backend/backend.h" backend/mingw/mingwmodulehandler.cpp: #include "../../pch.h" -> #include "pch.h" #include "../../rbuild.h" -> #include "rbuild.h" backend/mingw/proxymakefile.cpp: #include "../../pch.h" -> #include "pch.h" backend\devcpp/devcpp.h: #include "../backend.h" -> #include "backend/backend.h" backend\msvc/genguid.cpp: #include "../../pch.h" -> #include "../../../pch.h" backend\msvc/msvc.h: #include "../backend.h" -> #include "../../backend.h" backend\msvc/msvc.cpp: #include "../mingw/mingw.h" -> #include "../../mingw/mingw.h" backend\backend.cpp: #include "../pch.h" -> #include "pch.h" #include "../rbuild.h" -> #include "rbuild.h" backend\backend.h: #include "../rbuild.h" -> #ifndef __MSVC_H__ #include "rbuild.h" #else #include "../rbuild.h" #endif
Now building rbuild works.
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de _______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
I have to add that everything could get better if the makefile is changed because actually the include directives are right but GCC looks at the wrong places because of the makefiles.
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
From: tobitosso
I want to build. revision 18766 of ReactOS I typed in mingw32-make bootcd in my MSYS window
That's the problem probably. When you use MSYS, "make" will use its shell program to execute subcommands. The shell doesn't understand backslashes. Remove MSYS and CygWin from your path and try again.
Gé van Geldorp.
--- Ge van Geldorp gvg@reactos.org wrote:
That's the problem probably. When you use MSYS, "make" will use its shell program to execute subcommands. The shell doesn't understand backslashes. Remove MSYS and CygWin from your path and try again.
Gé van Geldorp.
The backlslash problem can be easily solved by editing the Makefile. Line 230: SEP = $(ROS_EMPTY); replace it with SEP = /$(ROS_EMPTY). MinGW, MSYS and perhaps even Windows itself understand using / instead of . Then the build process works until using Makfile.auto is used. I think replacing / with \ in Makefile.auto in MinGW on Windows is coded in the rbuild sources. This is senseless as I wrote above. Please remove these lines because then, I will be able to build the other parts of ReactOS, too. If you don't want to change the files in SVN-Repository first, please send the changed sources to me per e-mail.
tobitosso
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
--- Royce Mitchell III royce3@ev1.net schrieb:
tobitosso wrote:
perhaps even Windows itself understand using /
instead
of .
No, Windows does *not* understand using / instead of \ in all the cases we need for rbuild.
Your suggestions will break the build for those not using your build environment ( the majority of us )
I reinstalled MinGW and MSYS yesterday before sending this e-mail and now everything worked until using makfile.auto is started.(I used the original sources not the ones changed by me). In makefile.auto, mingw32-make doesn't find some file in APPS\UTILS\NET\ARP which actually exists because it looks for somethingAPPSUTILSNETARPsomething in the toplevel dir. Is there code in rbuild that changes / to \ in pathes when generating Makefile.auto. If yes, please tell me where and don't just say my MSYS and MinGW is wrong. If not, where are the \ in pathes introduced in making Makefile.auto?
Thanks
tobitosso
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
Hi,
if you have a sh.exe in the search path, make uses sh.exe instead of cmd.exe to execute some of the commands. Sh.exe doesn't understand paths which are containing back slashes. http://www.reactos.org/wiki/index.php/HOWTO/setup_a_build_environment_for_Wi... describes, how you can setup a build environment.
- Hartmut
tobitosso wrote:
--- Royce Mitchell III royce3@ev1.net schrieb:
tobitosso wrote:
perhaps even Windows itself understand using /
instead
of .
No, Windows does *not* understand using / instead of \ in all the cases we need for rbuild.
Your suggestions will break the build for those not using your build environment ( the majority of us )
I reinstalled MinGW and MSYS yesterday before sending this e-mail and now everything worked until using makfile.auto is started.(I used the original sources not the ones changed by me). In makefile.auto, mingw32-make doesn't find some file in APPS\UTILS\NET\ARP which actually exists because it looks for somethingAPPSUTILSNETARPsomething in the toplevel dir. Is there code in rbuild that changes / to \ in pathes when generating Makefile.auto. If yes, please tell me where and don't just say my MSYS and MinGW is wrong. If not, where are the \ in pathes introduced in making Makefile.auto?
Thanks
tobitosso
--- Hartmut Birr osexpert@gmail.com schrieb:
Hi,
if you have a sh.exe in the search path, make uses sh.exe instead of cmd.exe to execute some of the commands. Sh.exe doesn't understand paths which are containing back slashes.
Oh, this is not the problem. Only when compiling .rc files with gcc, the make process stops.
tobitosso
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de