OpenSolaris

You are not signed in. Sign in or register.

onnv compiler and build tools flag day

Date: Wed, 07 Sep 2005 15:37:41 +0100
From: Peter Dennis <peter dot dennis at sun dot com>
To: onnv-gate at onnv dot eng dot sun dot com, on-all at sun dot com
Subject: onnv compiler and build tools flag day

With my putback for

     6316914 changes in ON needed for Vulcan (Sun Studio 10)
             compiler switch

the compilers used by ON have been changed to Sun Studio 10 + patches
(aka Vulcan).  This compiler contains newer revisions of the required
patches than the one currently posted for OpenSolaris. It will be up
for download at the OpenSolaris site on 14-Sept-2005.

The compilers live in /ws/onnv-tools/SUNWspro/SOS10.
Though you likely already know this, this is:

x86/amd64:
     /net/slug-17.sfbay/export/i386/opt/SUNWspro/SOS10

sparc:
     /net/slug-17.sfbay/export/sparc/opt/SUNWspro/SOS10

If you maintain local copies, you _must_ copy them before you
bringover the above putbacks. If you don't bringover, you can
safely continue to use the old compiler (SOS8 aka K2) since it
lives in a separate directory and is not being deleted. Though
of course you need to resync before you putback.

Compressed tar balls of the compilers are available, for a short
time (until 14-Sept-2005), from:

x86/amd64:
     /net/ssaesrv.sfbay/export/tools/ha/petede/sos10-x86.tar.Z
sparc:
     /net/ssaesrv.sfbay/export/tools/ha/petede/sos10-sparc.tar.Z

The build tools (SUNWonbld) have also changed and will need
to be installed in order to pick up the new compiler wrapper
(cw). The best way to do this is:

# pkgrm SUNWonbld
# pkgadd -d /net/onnv.sfbay/export/gate/public/packages/`uname -p` SUNWonbld

Two environment variables, __GNUC and __GNUC64, toggle between gcc and
Vulcan.  __GNUC controls building 32-bit objects; set it to the empty
value to build 32-bit objects with gcc.  Likewise, __GNUC64 controls
building 64-bit objects; set it to the empty value to build 64-bit
objects with gcc.  __GNUC64 defaults to the value of __GNUC.  If
neither variable is set in the environment, Sun Studio 10 is used
to build all objects.

Note: the ONNV bfu archives, after 07-Sept-2005 will be built using
Sun Studio 10.