diff options
author | tschwinge <tschwinge> | 2008-06-21 10:03:55 +0000 |
---|---|---|
committer | tschwinge <tschwinge> | 2008-06-21 10:03:55 +0000 |
commit | b5f1e82b683b7f351a59d31efe08188760b2147b (patch) | |
tree | 837542a9b06e27f2cb52aa695df1a0a20ce2dd1d | |
parent | 6d58e2ece926d9b2cf4f6fd6b561199d7b89d044 (diff) |
2008-06-21 Thomas Schwinge <tschwinge@gnu.org>
* README (Using the Cross-Compiler): New section.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | README | 15 |
2 files changed, 20 insertions, 1 deletions
@@ -1,6 +1,10 @@ +2008-06-21 Thomas Schwinge <tschwinge@gnu.org> + + * README (Using the Cross-Compiler): New section. + 2008-06-20 Neal H. Walfield <neal@gnu.org> - * configure.ac (--enable-tests): New command line option. + * configure.ac (--enable-runtime-checks): New command line option. (USER_CPPFLAGS, KERNEL_CPPFLAGS): Add $CPP_CHECKS. (USER_CFLAGS, KERNEL_CFLAGS): Add $C_CHECKS. @@ -59,6 +59,21 @@ succeed: Also the header files are a good source of documentation. +Using the Cross-Compiler +------------------------ + +Does the package you want to cross-compile use the GNU build system +(`configure' script)? If not, then... If yes, then proceed as follows. Do +something like ``PATH=$PATH:/where/the/viengoos/build/is/bin'' to make sure +that `i686-pc-viengoos-gnu-gcc' can be found via `$PATH'. As the master GNU +system-guessing scripts don't know about Viengoos (yet), you have to link the +package's `config.guess' and `config.sub' to the Viengoos ones. That's what +`fix_config_guess_and_sub' (see `Makefoo.am') does, used in +`newlib/Makefile.am', for example. After that, configuring the to-be-built +package with ``--host=i686-pc-viengoos-gnu'' is all that *should* be needed, +for a portable package. Otherwise you'll see things explode. + + Installation on ia32 -------------------- |