|
Boost Users : |
Subject: Re: [Boost-users] Building boost with a locally built g++
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-05-13 10:51:02
AMDG
On 05/12/2012 07:24 AM, Mark Summerfield wrote:
> I have two locally built g++'s and want to build boosts to go with them.
>
> Unfortunately I've never used jam and despite reading the docs haven't
> succeeded.
>
> I created a user-config.jam file with the single line:
>
> using gcc : 4.7 : /home/mark/opt/gcc47/bin/g++ :
> <compileflags>-std=c++11 -pedantic <linkflags>-lstdc++ -lpthread
> -L/home/mark/opt/gcc47/lib -L/home/mark/opt/gcc47/lib64
> <address-model>64;
>
> but this seems to be ignored.
>
It shouldn't be ignore. See what
--debug-configuration prints.
> All I want to do is build boost for my local g++ 4.6 in ~/opt/gcc46 and
> my local g++ 4.7 in ~/opt/gcc47.
>
> Can anyone give me or point me to some simple instructions for doing
> this? I did not find
> http://www.boost.org/doc/libs/1_49_0/more/getting_started/unix-variants.html
> at all helpful for my situation. In particular, section 5.2 didn't help
> and b2 just keeps using the system's /usr/bin/g++.
>
In Christ,
Steven Watanabe
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