Boost logo

Boost-Build :

Subject: Re: [Boost-build] MinGW GCC-2.95 and Boost-Build
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-08-11 07:25:18


On Tuesday 11 August 2009 John Dillan wrote:

> Hey all,
>
> I'm trying to build my project using an old version of GCC available from
> MinGW (gcc-2.95.3-8-20020922-1 from
> http://sourceforge.net/projects/mingw/files/). What is the correct way to
> get boost-build to use it? The executable name is g++2, so it doesn't
> recognize it by default. There were lots of suggestions elsewhere, but
> none of them seem to work. I've tried something along these lines:
>
> bjam --toolset=gcc -sTOOLS=mingw-2.0
> -sMINGW_ROOT_DIRECTORY="F:\Dependencies\mingw\gcc-2.95.3-8" release
>
> It seems like something along these lines is correct, but nothing has
> worked so far. Any help on this would be greatly appreciated!

Unfortunately, the command line options above are mostly wrong.
Please see:

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

instead. Somethng like:

        using gcc : 2.0 : F:/Dependencies/mingw/gcc-2.95.3-8/bin/g++2 ;

in user-config.jam should work. (Note that forward slashes are intentional,
backward slash would have to be duplicated)

HTH,
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