Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-10-12 00:15:00


On Thursday 12 October 2006 00:18, Phillip Seaver wrote:
> I'm trying to add support for building universal libraries, and I'm not
> sure where to start on the next step. I've got it so that we can
> compile for either OS X platform (or both). The next step is to run
> "lipo" on the resulting libraries and/or executable to make a "fat" binary.
>
> I'd prefer that it be automatic on when you request the universal build
> instead of having to have a "lipo" rule that has to be added to each
> jamfile. So, I suspect I need to override the linking generator and
> have it request the two platform builds and set up the target to lipo
> them together. I'm pretty sure I can get it to lipo them together once
> I get the builds done, but I'm not sure how to trigger the other two
> builds. Can someone point me in the right direction?

I believe Abobe has patches to add such support and it's part of
http://opensource.adobe.com. The instructions mentions how to patch the
boost:

    http://opensource.adobe.com/asl_readme.html#patching_boost

Perhaps, this is the first thing that should be tried.

- Volodya


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