diff options
author | tnn <tnn@pkgsrc.org> | 2007-04-20 13:16:01 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-04-20 13:16:01 +0000 |
commit | 6eb1d9d995e92965c128ca7f01e91fb1b06dabe7 (patch) | |
tree | cdc5b301dba719034d149c412f041d2601e8bd18 /bootstrap | |
parent | 1649762b7553f6cc52212297ca3b4b6fe4c5bc0f (diff) | |
download | pkgsrc-6eb1d9d995e92965c128ca7f01e91fb1b06dabe7.tar.gz |
update OSF1 bootstrap documentation
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/README.OSF1 | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/bootstrap/README.OSF1 b/bootstrap/README.OSF1 index 52eb3bb3420..c4c18b76336 100644 --- a/bootstrap/README.OSF1 +++ b/bootstrap/README.OSF1 @@ -1,7 +1,26 @@ -$NetBSD: README.OSF1,v 1.1 2004/11/20 04:31:35 grant Exp $ +$NetBSD: README.OSF1,v 1.2 2007/04/20 13:16:01 tnn Exp $ -To use the native compiler, set PKGSRC_COMPILER=ccc in mk.conf. Use -the native compiler whenever possible for performance reasons. +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/ + +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. If you need the C++ Compiler it is available from @@ -9,18 +28,10 @@ If you need the C++ Compiler it is available from It may need a separate license to run. -Should you need gcc, install lang/gcc34. When you switch between -compilers, you must rebuild libtool-base. - -Some packages require a BSD-style install, but will not use the INSTALL -environment variable. If you get install-related errors, try: -# ln -s /usr/pkg/bin/install-sh /usr/pkg/bin/install -$ PATH=/usr/pkg/bin:$PATH; export PATH - +Tips and Tricks +--------------- Other suggestions to make the system more well-behaved: MANPATH=/usr/pkg/share/man:/usr/share/man PAGER=less stty status "" - -Bootstrap tested on AlphaServer 4100 with Tru64 5.1B PK4 and DS10 with PK3. |