Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
Did I mention I'm no fan of autoconf ..?
MinGW and why Linux users should care
Posted Nov 20, 2008 0:38 UTC (Thu) by nix (subscriber, #2304)
Posted Nov 20, 2008 12:21 UTC (Thu) by aleXXX (subscriber, #2742)
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.
Posted Nov 20, 2008 12:39 UTC (Thu) by nix (subscriber, #2304)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds