|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2008-07-29 11:58:11
on Tue Jul 29 2008, "Simon Lacroix" <slacroix-AT-rossvideo.com> wrote:
> Hello all,
>
> I have a system with both gcc version 3.4 and gcc version 3.2 installed (distro is RHE4). I am trying to compile the filesystem package using 3.2 but for some reason it always seem to pick gcc 3.4.
>
> I tried the following (as specified in section 5.2.2 of the unix getting started guide) :
>
> ./configure .. -with-toolset=gcc-3.2.3
>
> Performing a make after that tells me that it doesn't know anything about the tool and then give me a list of tool (basically all tools name with no version)
>
> Doing this however works but it uses version 3.4
>
> ./configure .. -with-toolset=gcc
>
> Both cc and gcc executable points to gcc 3.2.3 the version that I want to use.
>
> Anybody can point me out what I am missing ?
try putting a file called "user-config.jam" in your home directory,
containing:
using gcc : 3.2 : /path/to/gcc-3.2/binary/g++ ;
using gcc : 3.4 ;
That *should* make things work for you.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net