[C++-sig] Re: Compilation options

David Abrahams dave at boost-consulting.com
Thu Jun 10 14:35:10 CEST 2004


"Olivier Ravard" <olivier.ravard at novagrid.com> writes:

> Hi,
>
> I compiled some modules with boost.build and mingw tool.
> How can I do to tell bjam to compile with the -O3 option ?
>
> Thanks.

Are you sure you don't just want a full release build?

  bjam -sTOOLS=mingw -sBUILD=release

If you really *only* want the -03 flag,

  bjam -sTOOLS=mingw "-sBUILD=<cxxflags>-O3"

but that's usually not what you want.


-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com





More information about the Cplusplus-sig mailing list