Boost logo

Boost-Build :

Subject: [Boost-build] using /home installed gcc
From: Amos Anderson (nitroamos_at_[hidden])
Date: 2011-04-26 20:13:45


are there instructions anywhere on how to get bjam to find and use a
custom gcc? that is, I want to try a more recent version of gcc, so I
downloaded and installed v4.5.2 with --prefix=/home/amosa. bjam was
able to find it, but I was getting link errors with libstdc++.so.6. ln
ignored the version I think it's supposed to use in
/home/amosa/lib/libstdc++.so.6, and when I used link flags to grab it,
ln complained it was "incompatible". now, I may not have
compiled/installed my compiler correctly... but that step seemed
pretty straight forward...

the instructions I found:

http://www.boost.org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.reference.tools.compiler.gcc

seem to presume that the compiler I want to use, with all associated
libraries, are in /usr/bin. can anybody give me an example with the
correct "using" structure?

thanks!

amos.


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