Boost logo

Boost-Build :

From: Foster Brereton (fosterb.boost_at_[hidden])
Date: 2006-04-08 13:47:42

On 4/8/06, Ian Fasel <ianfasel_at_[hidden]> wrote:

> Question 1) What is the best way to build (my own) 64-bit libraries
> on darwin using bbv2? I currently do it by hacking darwin.jam, user-
> config.jam and my project Jamfiles, but it's not elegant. I'd like
> to do this in a platform independent way so that I can build with or
> without 64 bit support depending on the platform (arch -ppc, -ppc64,
> eventually -x86). If this can't be fully automatic, at least in a
> way that the user can specify in command-line arguments when building.

I'm not sure about an official Boost solution, but the Adobe open
source libraries use Boost to build their stuff (bbv2 only) and in
there we have patches to build i386/pcc/universal, and I would imagine
it would be pretty easy to add ppc64 to the architecture list as well.
Within our projects we have various settings that force other flags
(ie., building release forces a universal binary to be built.) I'm not
sure how elegant a solution it is, but you're welcome to take a look
and see if there's anything in there that will help you out.

On a related note, I hear there is a bona fide architecture setting
built deep into bjam for the 1.34 release, but due to stability
requirements we are sticking with 1.33 for the time being.



Foster T. Brereton - Computer Scientist
Software Technology Lab, Adobe Systems Incorporated
fbrereto_at_[hidden]   --

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at