pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap We can nowadays bootstrap using the native c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f73495cd4e39
branches: trunk
changeset: 534289:f73495cd4e39
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Oct 15 22:32:56 2007 +0000
description:
We can nowadays bootstrap using the native compiler, so note this.
g/c some obsolete text.
diffstat:
bootstrap/README.OSF1 | 43 +++++++++++++++----------------------------
1 files changed, 15 insertions(+), 28 deletions(-)
diffs (56 lines):
diff -r d9d2c6bd3959 -r f73495cd4e39 bootstrap/README.OSF1
--- a/bootstrap/README.OSF1 Mon Oct 15 17:12:19 2007 +0000
+++ b/bootstrap/README.OSF1 Mon Oct 15 22:32:56 2007 +0000
@@ -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:
+To use the native compiler:
- # env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap
+ # env CPP=/usr/bin/cpp CC=/usr/bin/cc ./bootstrap --compiler ccc
-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 GCC compiler kit from above:
-To use the native compiler, set PKGSRC_COMPILER=ccc in mk.conf.
+ # env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap --compiler gcc
-If you need the C++ Compiler it is available from
-
- ftp://ftp.compaq.com/pub/products/C-CXX/tru64/cxx/
-
-It may need a separate license to run.
+mk.conf setup
+-------------
+To use gcc, you must set the following variables in mk.conf:
-Tips and Tricks
----------------
-Other suggestions to make the system more well-behaved:
-
- 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++
Home |
Main Index |
Thread Index |
Old Index