Cross-compiling and the gen* native build tools
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Tue Feb 4 09:26:09 UTC 2014
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
More information about the build-dev
mailing list