Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools document how to generate GCC3.3 bootstrap info with mk...
details: https://anonhg.NetBSD.org/src/rev/b0f06a70b449
branches: trunk
changeset: 550000:b0f06a70b449
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jul 27 15:00:52 2003 +0000
description:
document how to generate GCC3.3 bootstrap info with mknative
diffstat:
tools/gcc/README.mknative | 4 ++++
tools/toolchain/README.mknative | 11 +++++++++--
2 files changed, 13 insertions(+), 2 deletions(-)
diffs (47 lines):
diff -r d7293a4878b4 -r b0f06a70b449 tools/gcc/README.mknative
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/gcc/README.mknative Sun Jul 27 15:00:52 2003 +0000
@@ -0,0 +1,4 @@
+$NetBSD: README.mknative,v 1.1 2003/07/27 15:00:54 mrg Exp $
+
+
+Please see ../toolchain/README.mknative for now.
diff -r d7293a4878b4 -r b0f06a70b449 tools/toolchain/README.mknative
--- a/tools/toolchain/README.mknative Sun Jul 27 14:49:22 2003 +0000
+++ b/tools/toolchain/README.mknative Sun Jul 27 15:00:52 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README.mknative,v 1.5 2003/07/26 20:24:01 salo Exp $
+$NetBSD: README.mknative,v 1.6 2003/07/27 15:00:52 mrg 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
@@ -18,6 +18,9 @@
must pick a specific $MACHINE so that building the requisite bits below will
work.
+For GCC 3.3, see 7b below - namely, using src/tools/gcc instead of
+src/tools/toolchain to generate compiler information.
+
1. Set MKMAINTAINERTOOLS=yes in mk.conf. (Needed so that src/tools/gettext
gets built, eliciting proper HAVE_*GETTEXT* defns in config.h files.)
@@ -50,7 +53,7 @@
MKPROFILE=no
MKSHARE=no
-7. In src/tools/toolchain, do "nbmake-MACHINE native".
+7a. In src/tools/toolchain, do "nbmake-MACHINE native".
This will do a full configury in ${.OBJDIR}/.native that is a "Canadian"
cross toolchain (--build reflects the host platform, but --host and
@@ -58,6 +61,10 @@
native-to-NetBSD compiler on a cross host, and mknative pulls glue data
from this.
+7b. To bootstrap GCC 3.3 compiler, one should use src/tools/gcc as the
+ base directory, and "native-gcc" as the target. All other steps are
+ the same.
+
8. Try out a full build using "nbmake-MACHINE"; the result should include
a native compiler.
Home |
Main Index |
Thread Index |
Old Index