Use of /usr/ccs/bin on Solaris

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Tue Mar 10 08:06:05 UTC 2015


On 2015-03-09 19:20, Dmitry Samersoff wrote:
> Martin,
>
> if we *append* /usr/ccs/bin to the path we are in risk that configure
> picks GNU tool instead of solaris one.

It is the resonsiblitiy of the configure script to make sure the proper 
tool is located. Sometimes version checks etc are needed, and if we at 
first detect a tool that seemed to be correct but not is suitable (e.g. 
like when we find a too old jdk), then configure will have to continue 
looking.

For the "simple" tools, normally we'd just need to find a binary with 
the correct name. With more "complex" tools, like the compiler, we need 
to take additional steps to make sure we have located the correct tool. 
It might turn out to be the same for some tools in /usr/ccs/bin, like nm.

/Magnus



More information about the build-dev mailing list