summaryrefslogtreecommitdiff
path: root/bootstrap/README.OSF1
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/README.OSF1')
-rw-r--r--bootstrap/README.OSF143
1 files changed, 15 insertions, 28 deletions
diff --git a/bootstrap/README.OSF1 b/bootstrap/README.OSF1
index c4c18b76336..f8ceace8054 100644
--- a/bootstrap/README.OSF1
+++ b/bootstrap/README.OSF1
@@ -1,37 +1,24 @@
-$NetBSD: README.OSF1,v 1.2 2007/04/20 13:16:01 tnn Exp $
+$NetBSD: README.OSF1,v 1.3 2007/10/15 22:32:56 tnn Exp $
-Prebuilt pkgtools and gcc binaries
-----------------------------------
-To get started quickly, prebuilt kits can be downloaded from
-
- ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnn/
-and
- ftp://ftp.NetBSD.org/pub/pkgsrc/bootstrap-pkgsrc/
+Compiler
+--------
+Prebuilt GCC toolchains suitable for use with pkgsrc can be downloaded from
+ ftp://ftp.NetBSD.org/pub/pkgsrc/misc/tnn/ .
Bootstrapping pkgsrc
--------------------
-The bootstrap currently requires gcc. To use the compiler kit from above:
-
- # env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap
-
-Selecting which compiler to use
--------------------------------
-After the bootstrap is completed, you must decide which compiler to use.
-To keep using gcc, add CC=/path/to/gcc and CXX=/path/to/g++ to your
-newly created mk.conf.
-
-To use the native compiler, set PKGSRC_COMPILER=ccc in mk.conf.
+To use the native compiler:
-If you need the C++ Compiler it is available from
+ # env CPP=/usr/bin/cpp CC=/usr/bin/cc ./bootstrap --compiler ccc
- ftp://ftp.compaq.com/pub/products/C-CXX/tru64/cxx/
+To use the GCC compiler kit from above:
-It may need a separate license to run.
+ # env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap --compiler gcc
-Tips and Tricks
----------------
-Other suggestions to make the system more well-behaved:
+mk.conf setup
+-------------
+To use gcc, you must set the following variables in mk.conf:
- MANPATH=/usr/pkg/share/man:/usr/share/man
- PAGER=less
- stty status ""
+ PKGSRC_COMPILER=gcc
+ CC=/full/path/to/gcc
+ CXX=/full/path/to/g++