Dave.
Changes look good to me, thanks
Matt
On 08/09/11 16:15, Dave Miner wrote:
On 08/09/11 02:42, Matt Keenan wrote:
Dave,
One comment inline.
On 08/08/11 23:08, Dave Miner wrote:
On 08/08/11 17:15, Karen Tung wrote:
Hi Dave,
I have a question on your changes to Makefile.master.
Your changes define SPRO_VROOT=$(SPRO_ROOT)/sunstudio12.1
SPRO_ROOT is defined in Makefile.master to be /opt/SUNWspro
because BUILD_TOOLS=/opt.
That means SPRO_VROOT=/opt/SUNWspro/sunstudio12.1
Does that mean I have to install sunstudio12.1 under /opt/SUNWspro?
No. The "normal" thing to do for ON is to get your tools from
/ws/onnv-tools, under which there's SUNWspro/sunstudio12.1. In many
build machines /opt/SUNWspro is a symlink to /ws/onnv-tools/SUNWspro (or
is an rsync'ed copy thereof). The code in nightly is designed to work
with this configuration.
On my system, the pkg:/developer/[email protected] package
is installed into /opt/sunstudio12.1. Does that mean I should make a
symlink?
Honestly, using that package is not the correct thing to do from a CBE
point of view; the CBE uses a version of the compiler that has fixes to
deal with bugs found by ON and other consolidations. For development
purposes your results will usually be "close enough" but you're at risk
of the odd deviant bug. Really not worth the trouble IMHO unless you're
building on a system without convenient LAN access to the tools cache.
If we're not supposed to use this package, then usr/src/README should
probably be updated to state what we should be using. It currently
states that developer/sunstudio12u1 is the preferred Studio package to
install. If you don't have /ws/onnv-tools available what is the
preferred packages ?
I've clarified this further in the README as:
1. Get the SunStudio compilers. There are two choices:
a) Mount/symlink or rsync cache the /ws/onnv-tools autofs. This is
highly recommended for Oracle internal developers. The compilers
are found at /ws/onnv-tools/SUNWspro/sunstudio12.1 (which is a
symlink to the specific patched version used).
b) Via the Image Packaging System (IPS). To install, run the command
"pkg install developer/sunstudio12u1". This package may not
be identical to the onnv-tools version, so is not preferred.
Alternatively, the package "pkg:/developer/solaris-studio-express"
may be used. However, Solaris Studio 12 update 1 is the currently
supported build environment.
Dave
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss