LWN.net Logo

MinGW and why Linux users should care

MinGW and why Linux users should care

Posted Nov 20, 2008 12:21 UTC (Thu) by aleXXX (subscriber, #2742)
In reply to: MinGW and why Linux users should care by nix
Parent article: MinGW and why Linux users should care

Did you check lately ?
http://www.cmake.org/cmake/help/cmake2.6docs.html#section...

Since CMake 2.4.1 I think lower case commands are supported, and since
2.6.0 using all-lowercase is recommended.

Beside that, I can recommend the same: don't try to run executables
during the configure-step, in general this doesn't work for cross
compiling. If cmake recognizes that a cross-compiled executable should be
executed, it doesn't execute it, prints a warning, and writes a file for
setting the result-variables, with hopefully enough comments so this
becomes doable for the developer. Also the cross compiled executables are
kept so the developer can take them, execute them on the target platform
and enter the results manually in that file. That file can then be fed
into cmake using the -C argument.

Alex


(Log in to post comments)

MinGW and why Linux users should care

Posted Nov 20, 2008 12:39 UTC (Thu) by nix (subscriber, #2304) [Link]

cmake supports lowercase! Yay! Now I can learn it without getting a hideous headache ;)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds