|
|
Subscribe / Log in / New account

MinGW and why Linux users should care

MinGW and why Linux users should care

Posted Nov 19, 2008 23:15 UTC (Wed) by rwmj (subscriber, #5474)
In reply to: MinGW and why Linux users should care by nix
Parent article: MinGW and why Linux users should care

AC_TRY_RUN is definitely one of the autoconf constructs I'd like to discourage people from using.
To be fair though, only 2 out of 50+ of the libraries we ported actually used it.

Did I mention I'm no fan of autoconf ..?


to post comments

MinGW and why Linux users should care

Posted Nov 20, 2008 0:38 UTC (Thu) by nix (subscriber, #2304) [Link] (2 responses)

But at least it's not quite as CAPITAL LETTER HAPPY as cmake, although
it's still CAPITAL LETTER HAPPY. Reading the cmake documentation or cmake
examples is almost physically painful. You'd think they hadn't realised
that lowercase letters are easier to read.

MinGW and why Linux users should care

Posted Nov 20, 2008 12:21 UTC (Thu) by aleXXX (subscriber, #2742) [Link] (1 responses)

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

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 © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds