Boost logo

Boost-Build :

Subject: Re: [Boost-build] MinGW GCC-2.95 and Boost-Build
From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2009-08-11 11:33:05


Hi John,

On Tuesday 11 August 2009, John Dillan wrote:
> 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?

No, just put all compilers in one (your) user-config.jam.

> 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.

Well, I normallly have at least different gcc's installed ;-)))

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

bjam gcc-2.0 should work fine for this compile

if you add "using gcc : 4.0 : F/Dependencies/whatever"
you should be able to use it using "bjam gcc-4.0"

And, please, read the docs...

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

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