Boost logo

Boost-Build :

Subject: Re: [Boost-build] how to change release compiler flags options ?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-06-21 05:50:25


On Monday 21 June 2010 12:54:46 Avi Bahra wrote:

> > To build the release version I use:
> > bjam -j2 variant=release
> >
> > On AIX this uses -03, unfortunately this causes some problems, so I want
> to
> > replace
> > -03 in release mode with -02.
>
> >>It seems to me that if -O3 causes problems on AIX, then we should not use
> -O3
> >>on AIX. What problems are those, and do they uniformly affect everybody?
>
> The problems are associated with:
> boost 1.42
> serialization
> v11.1 c++ compiler ( newly released )
>
> What I found was the in debug everything was ok, all my test ran, however
> in release mode, the boost serialization crashed. So I want to experiment
> with
> different optimisation, to to see what affect it had. However I struggled to
> achieve this.

For experimentation, you can edit toolset description directly, I think.

Thanks,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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