Just for clarification:

The existing SS12 installer uses a SYSV package with only
links in it to optionally place links in /usr/bin for SS12.
Solaris 10 packages will normally over-write files that 
are already on the system.

The one-pager also describes a separate package for the symlinks.

The existing unbundled SSX in OpenSolaris today doesn't have
a separate package for the links, but it should.  If this
case is implemented, we'll need to deliver future unbundled 
Sun Studios to OpenSolaris with a separate package for the links.

For OpenSolaris, if the bundled compilers install /usr/bin symlinks,
then the unbundled compilers would need to stop installing
the unbundled links package by default.

One reason the user might want to add /usr/compilers/bin to 
their search path, is if they are on a shared machine
that has a different set of links installed in /usr/bin.
You can choose to use the bundled compilers, even if the
links are not present.  Presumably if they are on their
own machine they could just install the links package that
they want.  But if they need to control the compiler selection
differently for different projects, on their own machine, 
they still might want to have unbundled /usr/bin links and
put /usr/compilers/bin on their search path at certain times.

--chris



Danek Duvall wrote:
> On Thu, Jan 15, 2009 at 02:25:44PM -0800, Douglas Walls wrote:
> 
>> So, if you have installed the unbundled Sun Studio, like the upcoming Sun
>> Studio 13, with its package that overrides the links in /usr/bin and
>> /usr/share/man, and you have some reason you want the bundled compiler
>> back on your path.
> 
> Um.  I think that's a "don't do that" scenario.  It's not terribly clear to
> me why you'd not just uninstall the unbundled symlink package and reinstall
> the bundled symlink package (or however those links get rebuilt -- I don't
> recall you having a separate package for those, which would then preclude
> the unbundled symlink package from being installed on the system at the
> same time as the bundled compilers).
> 
> If you really want to have ultimate flexibility with compiler versions,
> just don't install the bundled ones.
> 
> Danek


Reply via email to