Subject: [Boost-build] OS X: Building on 10.6 for 10.4 should use g++-4.0 version by default
From: Boris DuÅ¡ek (boris.dusek_at_[hidden])
Date: 2009-11-09 08:17:03
When building on OS X with the 10.4 SDK selected, only g++ version 4.0 can
be used. This is the case when compiling on 10.4 or 10.5, since there "g++"
is a symlink to "g++-4.0". But when compiling on 10.6, "g++" defaults to
"g++-4.2", and so compiling with macosx-version=10.4 fails (standard C++
library headers for 4.2 are not present in the 10.4 SDK). One solution is
for user to modify user-config.jam and explicitly specify gcc version, but
that seems a bit inconvenient if the build system can make that decision
itself (because in the described case it's not a matter of choice, but
My bjam language knowledge is very low, so I tried to make a "patch" which
"shows what should be done", maybe someone (Volodya?) could modify it to
make it actually work (and so that I can test it)?
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