Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-03 03:01:11

On Friday 03 December 2004 09:50, gmu wrote:
> Hi,
> Sorry if the answer is obvious, I noticed that various compiler-specific
> optimation strings have been translated into bbv2 flags.
> On a project or target specific basis, how do specify gcc options such
> as "-march=pentium3 -fomit-frame-pointer"?

For target:

exe a : a.cpp : <cflags>-march=pentium3 <cflags>-fomit-frame-pointer ;

I've just added docs on this to

For project: using project requirements

> And will the options we specify override those that are automatically
> generated by bbv2?

V2 does not generate any of those options itself, so you're safe.

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at