|
Boost-Build : |
From: Richard Smith (richard_at_[hidden])
Date: 2003-03-26 08:17:19
Apologies is this is a know issue -- a brief search of the
archives didn't turn anything up.
I have several copies of gcc installed on my machine and
need to select the particular one with which to compile
boost. The gcc-tools documentation suggests that doing
bjam -sGXX=g++-3.2.1
ought to do the right thing, however it appears not to.
Looking through the boost-base.jam, it appears that the
problem is that the variable that the user uses to set the
compiler has the same name as the internal flag for the
compiler name, and so the include-tools rule resets both.
Assuming this is a bug not a feature, the attached patch to
gcc-tools.jam fixes this by renaming the flag GXX_NAME (and
similarly for GCC).
-- Richard Smith --1388574315-1542126705-1048684639=:29938 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="boost.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.4.33.0303261317190.29938_at_[hidden]> Content-Description: Patch Content-Disposition: attachment; filename="boost.patch" LS0tIGJvb3N0XzFfMzBfMC90b29scy9idWlsZC9nY2MtdG9vbHMuamFtCUZyaSBGZWIgMjEg MDc6NTE6MDYgMjAwMw0KKysrIGJvb3N0XzFfMzBfMC5tb2QvdG9vbHMvYnVpbGQvZ2NjLXRv b2xzLmphbQlXZWQgTWFyIDI2IDEzOjExOjE5IDIwMDMNCkBAIC03Myw5ICs3Myw2IEBAIGZs YWdzIGdjYyBDRkxBR1MgPGlubGluaW5nPm9mZiA6IC1mbm8taW4NCiBmbGFncyBnY2MgQ0ZM QUdTIDxpbmxpbmluZz5vbiA6IC1Xbm8taW5saW5lIDsNCiBmbGFncyBnY2MgQ0ZMQUdTIDxp bmxpbmluZz5mdWxsIDogLWZpbmxpbmUtZnVuY3Rpb25zIC1Xbm8taW5saW5lIDsNCiANCi1m bGFncyBnY2MgR1hYIDogJChHWFgpIDsNCi1mbGFncyBnY2MgR0NDIDogJChHQ0MpIDsNCi0N CiAjDQogIyBzZXQgdGhyZWFkaW5nIG9wdGlvbnMgZm9yIHZhcmlvdXMgcGxhdGZvcm1zOg0K ICMNCkBAIC0yNzcsNiArMjc0LDEw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JChERUZJTkVTKSAkKENGTEFHUykg JChDKytGTEFHUykgLUkiJChIRFJTKSIgLUkkKFNQQUNFKSIkKFNUREhEUlMpIiAtbyAiJCg8 KSIgIiQoPikiDQogfQ0KIA0KICMjIyMgQXJjaGl2ZSAjIyMjDQo= --1388574315-1542126705-1048684639=:29938--
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