summaryrefslogtreecommitdiff
path: root/bootstrap/README.Solaris
diff options
context:
space:
mode:
authorsketch <sketch>2008-06-17 11:59:08 +0000
committersketch <sketch>2008-06-17 11:59:08 +0000
commitc60efac2568a1fdee7a47738d09cd470367f7f21 (patch)
tree7a1d7fa7d287f674aaf9253a71f357c5c353b93c /bootstrap/README.Solaris
parent4f0a333948d6e26fb56fb7b6853e5a82d3a692a1 (diff)
downloadpkgsrc-c60efac2568a1fdee7a47738d09cd470367f7f21.tar.gz
Update notes for using Sun's compiler and 64-bit support.
Diffstat (limited to 'bootstrap/README.Solaris')
-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}