|
Boost-Build : |
Subject: [Boost-build] Building Boost 1.41 to run on Mac OS X 10.4
From: Jay Maynard (jmaynard_at_[hidden])
Date: 2010-09-07 13:05:58
I need to build Boost to run against the Mac OS X 10.4 runtime, to rebuild a
software package that is built to that level and contains components that I
can't rebuild. It needs to be built for 32-bit Intel, and the build engine
is a 10.6 system. I have no earlier versions available.
I've gotten as far as the following:
./bjam release toolset=darwin-4.0 address-model=32 architecture=x86
threading=multi link=static macosx-version=10.4 macosx-version-min=10.4
--layout=system --prefix=/Users/jmaynard/Programming/boost-output/
--exec-prefix=/Users/jmaynard/Programming/boost-output/
--build-dir=/Users/jmaynard/Programming/boost-build
The build has to use the gcc 4.0 toolchain, not the default 4.2 one, when
building for 10.4. I get a truly insane number of compilation errors when
trying to use gcc 4.0.
I know this has been done; I'm rebuilding the library to replace a copy that
works but which, due to the project's history, is no longer trustworthy.
What am I missing?
-- Jay Maynard, K5ZC http://www.conmicro.com http://jmaynard.livejournal.com http://www.tronguy.net http://www.hercules-390.org (Yes, that's me!) Buy Hercules stuff at http://www.cafepress.com/hercules-390
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