Boost logo

Boost-Build :

From: Christopher Currie (Christopher_at_[hidden])
Date: 2003-07-29 10:00:05


Rene Rivera wrote:
> PS. It would be nice if the sun toolset searched the /opt/SUNWspro usual
> install location.

I thought about that, but my sysadmins did not install it to that
location, so I didn't think it appropriate; I'm also a little hesistant
to hardcode *any* paths into the toolset.

I can see value to having this check so one doesn't need the compiler in
their path, but you can achieve the same effect by putting the path in
the using directive, e.g.:

using sun : : /opt/SUNWspro ;

However, all that said, it's a trivial change to set "/opt/SUNWspro/bin"
as a default, and if everyone else thinks it's a good idea, the
appropriate patch is attached.

Christopher

 --------------000107050208030702080402 Content-Type: text/plain;
name="sun.jam[1].diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="sun.jam[1].diff"

*** sun.jam Tue Jul 29 10:53:50 2003
--- sun.jam.new Tue Jul 29 10:53:42 2003
***************
*** 15,21 ****
feature.subfeature toolset sun : version ;

# Installation root to use for versionless toolset
! .root = "" ;

rule init ( version ? : root ? )
{
--- 15,21 ----
feature.subfeature toolset sun : version ;

# Installation root to use for versionless toolset
! .root = "/opt/SUNWspro/bin/" ;

rule init ( version ? : root ? )
{
 --------------000107050208030702080402--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk