On 2014-02-04 05:17, Martin Buchholz wrote:
A strategy that often works is to just use the preprocessor output instead of compiling and running the resulting program. autoconf has support for this.

http://www.gnu.org/software/autoconf/manual/autoconf.html#Running-the-Preprocessor

For just extracting system constants, that might be a good idea, yes. I can't see any reason for why not a cross-compiling toolchain's preprocessor could be used in those cases, so that should be one way to get rid of the build compiler. Thanks for the suggestion!

/Magnus

Reply via email to