Boost logo

Boost :

Subject: Re: [boost] bjam - help please
From: Edward Grace (ej.grace_at_[hidden])
Date: 2009-08-23 16:15:54


On 23 Aug 2009, at 19:36, Steven Watanabe wrote:

> AMDG
>
> Edward Grace wrote:
>> That works fine for the default darwin setup, however when I want to
>> use g++-4 (which I would like to for testing purposes), the following
>> doesn't work in the Jamfile
>>
>> using darwin : 4.4 : g++-4 ;
>>
>> bjam then returns with...
>> darwin.compile.c++ bin/darwin-4.4/debug/example_basic.o
>> g++-4: unrecognized option '-no-cpp-precomp'
>>
>> presumably I need to just tweak some sort of configuration file. Any
>> idea where it lives?
>
> All the toolsets are defined in tools/build/v2/tools/<toolset
> name>.jam
> Since g++-4 is a standard gcc distribution, but uses Apple's linker
> try
> using gcc : 4.4 : g++-4 : <linker-type>darwin ;
> The linker-type is deduced automatically for most cases.
> I don't know why it isn't for darwin.

Thanks for that -- now I know where to look I feel empowered...

So far so working! ;-)

-ed


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk