Cross-compiling and the gen* native build tools (original) (raw)
Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Tue Feb 4 09:26:09 UTC 2014
- Previous message (by thread): Cross-compiling and the gen* native build tools
- Next message (by thread): Cross-compiling and the gen* native build tools
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): Cross-compiling and the gen* native build tools
- Next message (by thread): Cross-compiling and the gen* native build tools
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]