Subject: Re: [Boost-build] RE [cygwin] How to use both gcc 3.x.x and gcc4.x.x
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-03-16 04:02:07
OK - it wasn't finding the user-config.jam in the expected place. Thanks for
using gcc ;
using gcc : 4.3.2 : g++-4 ;
should I use --toolset=gcc-4.3.2 or --toolset=gcc-4 ?
When I used --toolset=gcc-4.3.2 it still picked up the version 3 compiler
until I commented out the using gcc.
Vladimir Prus wrote:
> On Saturday 14 March 2009 21:27:40 Robert Ramey wrote:
>> I've got gcc 4.3.2 on my cygwin system and want to use boost build
>> with it.
>> when I use --toolset=gcc
>> my stystem uses gcc 3.4.4 which I also have
>> when I use --toolset=gcc-4.3.2 or --toolset=gcc-4,
>> I get a message at the top of the bjam.log which says
>> 'g++' is not recognized as an internal or external command,
>> operable program or batch file.
> This means that (1) you don't have g++ in your PATH and (2)
> no declaration for gcc-4.3.2 or gcc-4 exist in your user-config.jam
> that specify a different command.
>> my user-config.jam looks like:
>> # Boost.Build Configuration
>> # Automatically generated by Boost configure
>> # Compiler configuration
>> using msvc ;
>> using borland ;
>> using gcc ;
>> using gcc : 4 : g++-4 ;
>> using como-win ;
>> using stlport ;
>> # Python configuration
>> using python : 2.5 : /usr ;
> Where is that file located and what makes you think it is loaded
> by Boost.Build? In particular, is it in a location searched per:
> You can use --debug-configuration to verify it is really loaded.
> - Volodya
> Unsubscribe & other changes:
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