Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-26 03:48:44


On Wednesday 19 April 2006 01:37, Ian Fasel wrote:
> When on darwin, some targets in my project require the 3.3 version of
> gcc, while others require the 4.0 version. On linux, they can all be
> built with the same gcc.
>
> If my user-config.jam is:
> using darwin : 3.3 : g++-3.3 : <cxxflags>"-fcoalesce-templates" ;
> using darwin : 4.0 : g++-4.0 ;
> then I can make two targets using the same sources, with different
> names, and use target alternatives in my Jamfiles, e.g.,
> lib mpisearchX-3.3 : mpisearchX.cpp : <toolset>darwin-3.3 ;
> lib mpisearchX-4.0 : mpisearchX.cpp : <toolset>darwin-4.0 ;

Hi Ian, I'm not sure what problem you're solving with the above. If you have a
target that requires gcc-3.3 on darwin, then what about:

   lib the_special_target : whatever.cpp : <os>darwin>:<toolset>darwin-3.3 ;

? Can you clarify what problems do you get?

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: 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