
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