pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap Update notes for using Sun's compiler and 64...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f88a1e39a9a
branches:  trunk
changeset: 543427:1f88a1e39a9a
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Jun 17 11:59:08 2008 +0000

description:
Update notes for using Sun's compiler and 64-bit support.

diffstat:

 bootstrap/README.Solaris |  20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diffs (37 lines):

diff -r a438692b3310 -r 1f88a1e39a9a bootstrap/README.Solaris
--- a/bootstrap/README.Solaris  Tue Jun 17 11:50:45 2008 +0000
+++ b/bootstrap/README.Solaris  Tue Jun 17 11:59:08 2008 +0000
@@ -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 @@
 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:
-
-       PKGSRC_COMPILER=sunpro
+To build 64-bit binaries, pass '--abi=64' to bootstrap, and also see the
+crle(1) man page to configure the runtime linking environment.
 
-To build 64-bit binaries:
+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:
 
-       CFLAGS=         -xtarget=ultra -xarch=v9
+       env CC=/opt/studio12/SUNWspro/bin/cc \
+           SUNWSPROBASE=/opt/studio12/SUNWspro \
+           ./bootstrap --abi=64
 
-(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}



Home | Main Index | Thread Index | Old Index