Boost logo

Boost-Build :

Subject: Re: [Boost-build] RE [cygwin] How to use both gcc 3.x.x and gcc 4.x.x
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-03-14 17:36:36


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:

        http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html

You can use --debug-configuration to verify it is really loaded.

- Volodya


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