
Daryle Walker wrote:
OK, I tried Boost.Build out:
1. Since I'm loading from SVN, I'm have to make sure bjam is always generated after an update. I have this in a shell script:
//================================= MY_HOME=~ MY_PROGRAMMING="$MY_HOME"/Documents/Programming MY_BOOST="$MY_PROGRAMMING"/Boost MY_BOOST_SVN="$MY_BOOST"/main-svn/boost-trunk
echo "Updating Boost Main SVN" cd "$MY_BOOST_SVN" svn update echo "Rebuilding Boost.Jam for SVN" cd "$MY_BOOST_SVN"/tools/jam/src sh ./build.sh cp bin.macosxppc/bjam "$MY_HOME"/bin/bjam-svn rm -rf bootstrap rm -rf bin.macosxppc //=================================
Is there a better way to do this? Is making the final executable be named "bjam-svn" bad? Calling "bjam-svn --version" gets me "Boost.Build V2 (Milestone 12) Boost.Jam 03.1.17" (on two lines). It properly uses the "darwin" toolset when building.
This looks fine. I'm not sure about "better" way -- if this one works, then it works.
2. I put $MY_BOOST down as my $BOOST_BUILD_PATH, so I wouldn't have to put the *-config.jam files in my home directory. My copies of the latest Boost download and the subversion repository are also in this directory. Will that mess anything up? What's the "site-config.jam" file for anyway? Only one line was uncommented in "user-config.jam", the "using gcc ;" line. Is this suitable for a Mac OS X (10.4.11) system?
No, you need "darwin" as tools.
daryle[hello]$ bjam-svn toolset=darwin ~/Documents/Programming/Boost/main-svn/boost-trunk/tools/build/v2/ build/feature.jam:466: in feature.validate-value-string from module feature error: "10.2" is not a known value of feature <macosx-version>
Oh, you actually have 10.2 SDK installed? Can you "svn up" and try again? - Volodya