Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/gcc Note MKRUMP=no and the need to specify HAVE_GCC= e...
details: https://anonhg.NetBSD.org/src/rev/192d4dbf0f63
branches: trunk
changeset: 783507:192d4dbf0f63
user: martin <martin%NetBSD.org@localhost>
date: Wed Dec 26 19:11:27 2012 +0000
description:
Note MKRUMP=no and the need to specify HAVE_GCC= explicitly when using
MKGCC=no. Also point at but number 47353.
diffstat:
tools/gcc/README.mknative | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diffs (50 lines):
diff -r 564b8b5b64bb -r 192d4dbf0f63 tools/gcc/README.mknative
--- a/tools/gcc/README.mknative Wed Dec 26 19:09:07 2012 +0000
+++ b/tools/gcc/README.mknative Wed Dec 26 19:11:27 2012 +0000
@@ -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 @@
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 @@
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 @@
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 @@
MKLINT=no
MKPROFILE=no
MKSHARE=no
+ MKRUMP=no
10. In src/tools/gcc, do "nbmake-MACHINE native-gcc".
Home |
Main Index |
Thread Index |
Old Index