Danek Duvall wrote:
> On Wed, Jan 14, 2009 at 01:50:13PM -0800, Douglas Walls wrote:
> 
>>      - The design of the Sun compilers precludes just installing
>>        them into /usr/bin, /usr/lib, etc. without significant
>>        redesign.
> 
> Could you talk about that briefly?  I'm guessing that you assume that an
> executable can find things by looking at its realpath (or equivalent) and
> fetching ../lib/<something>, and that putting all those <something>s into
> /usr/lib would be messy, but perhaps there's something else going on.
> 
> What would be the work involved to fix that, perhaps even just noting that
> when the executable is in /usr/bin, the auxiliary bits can be found in
> /usr/lib/suncc (or whatever).  Not for this case, perhaps, but for a future
> update of the bundled compilers.


You understand the basic concept.  The binaries and libraries that make
up the compilation system need to be relative to each other.  The compilation
system for example consists of drivers like "cc", which invokes components
acomp, iropt, ir2hf, ube, etc.  Those binaries need to live in relative
locations to each other.  Same with support libraries and other files.
Many of the binaries like those mentioned do not belong in /usr/bin, i.e.
on the user's path.  So reorganizing this is a significant job for which we
do not have an estimate.  This ARC case is about bundling the Sun C and C++
compilers in Nevada for all distributions of Solaris in a reasonable time
without reoganizing/redesigning those compilers.  Such a reorganization of
the compiler so to place the binaries cc, CC, etc. in /usr/bin would be the
subject of another case.

> 
>>        We need a location into which to install the
>>        compiler components, with symlinks to those components
>>        installed in /usr/bin and /usr/share/man.  The delivery will
>>        install the bundled compiler collection components into
>>        /usr/compilers/{bin,lib,...},
> 
> Why /usr/compilers, then, rather than something under /usr/lib/<mumble>?

If ARC members recommend we install the bundled compilers in /usr/lib/<mumble>
that is fine by us, it's just a name and a path.  We chose /usr/compilers
as it was not clear to us that we want another WOS in /usr/lib.

> And the man pages should be able to go directly in /usr/share/man, no?

If we do the reoganization of the compiler for binaries in /usr/bin with
support files in /usr/lib/<mumble>, then yes man pages go directly in
/usr/share/man.

> 
> Danek

Reply via email to