Boost logo

Boost-Build :

Subject: Re: [Boost-build] MinGW GCC-2.95 and Boost-Build
From: John Dillan (demised_at_[hidden])
Date: 2009-08-11 11:15:26


Hi Volodya,

Thanks for the quick response! That solution worked great!! However, is
there some way to specify these options on the command line or is the
ideal solution to put this in a custom user-config.jam file and specify
that file on the command line? I'm setting up a build system that
compiles my project in multiple compilers and configurations (with gcc 2,
3, and 4), so having a method to automatically switch between them is
crucial.

Thanks again!

--John

On Tue, 11 Aug 2009 04:25:18 -0700, Vladimir Prus <ghost_at_[hidden]> wrote:

> 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
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build


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