|
Boost Users : |
Subject: [Boost-users] Building boost with a locally built g++
From: Mark Summerfield (list_at_[hidden])
Date: 2012-05-12 10:24:54
Hi,
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.
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++.
(I want boost primarily for its regex library.)
Thanks!
PS I'm not a subscriber so would appreciate being cc'd in any reply.
-- Mark Summerfield, Qtrac Ltd, www.qtrac.eu C++, Python, Qt, PyQt - training and consultancy "Programming in Go" - ISBN 0321774639 http://www.qtrac.eu/gobook.html
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