On 9/23/06, Brad King <[EMAIL PROTECTED]> wrote:
Martin Dobias wrote:
> What's the difference between MinGW and MSYS generators? Only
> difference I'm aware of is that MSYS generator uses sh.exe for running
> make commands. Are there any pros and cons?
>
> What generator should I prefer for building?
>
> That error with MinGW makefiles is simply a limitation or could be fixed?
Both generators should work. The difference is that MinGW and MSYS both
come with their own make. For years the projects had problems with
people confusing their makes so they renamed the MinGW one to
"mingw32-make". The original MSYS make is still called "make". They
expect different path formats (windows v. posix) and use different
shells (sh v. cmd).
The MinGW Makefiles generator creates makefiles meant for mingw32-make.
If you run MSYS's make with MinGW makefiles it probably won't work.
Thanks for the information, it might be good to include that to CMake
documentation.
We should be able to fix the MinGW make line-too-long problem. That
generator should be using a "link script" design to avoid listing large
counts of object files on the command line in the makefile. Please send
me the actual command line from the build.make file that is causing the
line-too-long error.It should be in CMakeFiles/mytarget.dir/build.make
for the target that is not linking.
That would be great! I'm sending that build.make off the list.
Martin
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake