Boost logo

Boost-Build :

Subject: Re: [Boost-build] Ref: setting compiler options on AIX
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-11-24 07:13:44


On Tuesday 24 November 2009 15:01:03 Avi Bahra wrote:

> On Tuesday 24 November 2009 13:16:07 Avi Bahra wrote:
>
> > Avi Bahra wrote:
> > > I am trying to set compiler options on the AIX in a similar manner to
> gcc,
> > > but is has no effect.
> > > i.e
> > >
> > > using vacpp : : : <compileflags>-p ;
>
> > I am using the 'out of box' bjam and have not made any changes.
> >
> > For the bjam version I have:
> > #bjam -v
> > Boost.Jam Version 3.1.17. OS=AIX.
> >
> > For function init, the file vacpp.jam was located within boost at:
> > ./tools/build/v2/tools/vacpp.
> jam
> >
> > # Configure the vacpp toolset
> > rule init ( version ? : command * : options * )
> > {
> > local condition = [
> > common.check-init-parameters vacpp : version $(version) ] ;
> >
> > command = [ common.get-invocation-command vacpp : xlC
> > : $(command) : "/usr/vacpp/bin/xlC" ] ;
> >
> > common.handle-options vacpp : $(condition) : $(command) : $(options) ;
> > }
>
> >Thanks. I've fixed this problem. See:
> >
> > https://svn.boost.org/trac/boost/changeset/57887
> >
> >- Volodya
>
>
> Thanks for the fix.
>
> Currently I can not access the change set above !

That server is not the slow side; you might want to try again
a bit later.

> Please forgive my naivety, but how does one access any fixes to bjam
> Should I wait for 3.1.18 , or is this any quicker way of getting the fix ?

It looks like you're fallen in the same trap as other users. The system is
called Boost.Build, and bjam is the low-level engine. While bjam version
is somewhat important, getting new bjam won't get you any new fixes --
you also need new Boost.Build.

I recommend that you grab a nightly package of Boost.Build. It's typically
available at http://boost.org/boost-build2, and there's 24h delay.
For this specific fix, you can get a package from
http://lvk.cs.msu.su/~ghost/boost_build_nightly/ -- in about 10 mins
from now.
The timestamp.txt file inside package has the revision -- make sure it's
greater or equal to 57887.

Hope this helps,
Volodya


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