summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2008-06-17 11:59:08 +0000
committersketch <sketch@pkgsrc.org>2008-06-17 11:59:08 +0000
commit8bb95ad74ed2cbd6e1dd898603e9b7fcaf06b08f (patch)
tree7a1d7fa7d287f674aaf9253a71f357c5c353b93c /bootstrap
parent8bb177563eabebe10ad027bf3cb19c0c7c6d6a1d (diff)
downloadpkgsrc-8bb95ad74ed2cbd6e1dd898603e9b7fcaf06b08f.tar.gz
Update notes for using Sun's compiler and 64-bit support.
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/README.Solaris20
1 files changed, 12 insertions, 8 deletions
diff --git a/bootstrap/README.Solaris b/bootstrap/README.Solaris
index 8f9cee2a183..b1c9c652fb9 100644
--- a/bootstrap/README.Solaris
+++ b/bootstrap/README.Solaris
@@ -1,4 +1,4 @@
-$NetBSD: README.Solaris,v 1.7 2007/07/02 19:05:29 tnn Exp $
+$NetBSD: README.Solaris,v 1.8 2008/06/17 11:59:08 sketch Exp $
You will need a working C compiler. Any version of gcc >2.8 should
work, 2.95.x and 3.x have been tested. SunPro 5 and 8 have been
@@ -60,16 +60,20 @@ Sun ONE Studio 8:
The corresponding 64-bit packages are also required to build 64-bit
binaries and libraries.
-You should set PKGSRC_COMPILER=sunpro in /etc/mk.conf:
+To build 64-bit binaries, pass '--abi=64' to bootstrap, and also see the
+crle(1) man page to configure the runtime linking environment.
- PKGSRC_COMPILER=sunpro
+pkgsrc defaults to finding the Sun compiler in /opt/SUNWspro. If you use a
+different prefix, pass SUNWSPROBASE in the environment to bootstrap. If 'cc'
+is not in your path, pass CC as well. So, to build 64-bit Sun compiler
+bootstrap with a non-standard install:
-To build 64-bit binaries:
+ env CC=/opt/studio12/SUNWspro/bin/cc \
+ SUNWSPROBASE=/opt/studio12/SUNWspro \
+ ./bootstrap --abi=64
- CFLAGS= -xtarget=ultra -xarch=v9
-
-(also see the crle(1) man page to configure the runtime linking
-environment).
+When bootstrap is finished your default mk.conf will contain ABI and
+SUNWSPROBASE so you will not need to set these variables again.
Whichever compiler you use, please ensure the compiler tools and
your $prefix are in your PATH. This includes /usr/ccs/{bin,lib}