Module Name: src
Committed By: martin
Date: Wed Dec 26 19:11:27 UTC 2012
Modified Files:
src/tools/gcc: README.mknative
Log Message:
Note MKRUMP=no and the need to specify HAVE_GCC= explicitly when using
MKGCC=no. Also point at but number 47353.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tools/gcc/README.mknative
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/gcc/README.mknative
diff -u src/tools/gcc/README.mknative:1.13 src/tools/gcc/README.mknative:1.14
--- src/tools/gcc/README.mknative:1.13 Thu Sep 27 11:29:49 2012
+++ src/tools/gcc/README.mknative Wed Dec 26 19:11:27 2012
@@ -1,4 +1,4 @@
-$NetBSD: README.mknative,v 1.13 2012/09/27 11:29:49 skrll Exp $
+$NetBSD: README.mknative,v 1.14 2012/12/26 19:11:27 martin Exp $
This file describes how to bootstrap the native toolchain on a new NetBSD
platform (and how to update the new toolchain files, if needed). These
@@ -22,6 +22,9 @@ work.
gets built, eliciting proper HAVE_*GETTEXT* defns in config.h files.)
2. Build and install a cross toolchain (via "build.sh -m MACHINE tools").
+ Note that while PR #47353 is not fixed, you can not use the -O option
+ to build.sh. Use -M instead. (The difference is only a minor layout/
+ pathname prefixe in the object directory pointed to bei either option.)
3. In src/tools/gcc, do "nbmake-MACHINE bootstrap-libgcc".
@@ -33,8 +36,11 @@ work.
will regenerate the "proper" libgcc config files.
4. At top level, do
- "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no", and
- "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no".
+ "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no HAVE_GCC=45", and
+ "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no HAVE_GCC=45".
+ (Note: replace 45 [for gcc 4.5.x] with the appropriate version you are
+ going to mknative-for, the MKGCC=no prevents the standard makefiles from
+ picking up any gcc version info automatically)
5. In src/lib/csu, do
"nbmake-MACHINE dependall". and "nbmake-MACHINE install".
@@ -55,7 +61,7 @@ work.
installs a header file that is not part of standard build.
9. In src/lib, do
- "nbmake-MACHINE dependall install MKGCC=no".
+ "nbmake-MACHINE dependall install MKGCC=no HAVE_GCC=45".
Optionally, all of the following may be set in the environment to reduce
the amount of code needed to build at this step. Basically, it must be
@@ -67,6 +73,7 @@ work.
MKLINT=no
MKPROFILE=no
MKSHARE=no
+ MKRUMP=no
10. In src/tools/gcc, do "nbmake-MACHINE native-gcc".