summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorsketch <sketch>2008-06-17 11:59:08 +0000
committersketch <sketch>2008-06-17 11:59:08 +0000
commit72219cc0ae25aa2b944eb30c7125647e17d9b8aa (patch)
tree7a1d7fa7d287f674aaf9253a71f357c5c353b93c /bootstrap
parentd76b0ebe01ed00d644a92c664f4b135b2b4269e7 (diff)
downloadpkgsrc-72219cc0ae25aa2b944eb30c7125647e17d9b8aa.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}