Boost logo

Boost-Build :

Subject: [Boost-build] building 1 project with 2 versions of gcc
From: Alex Norman (alexn_at_[hidden])
Date: 2010-04-22 17:44:29


I have a project on macos which requires that i use the 10.4 SDK [+
gcc-4.0] for a 32 bit build and the 10.6 SDK [+ gcc-4.2] for a 64 bit
build and then lipo them together into one dll.

I never figured out how to do this within bjam, so right now I have a
script which builds my target 2 times:
bjam darwin-4.0
bjam darwin-4.2

and then the script does the lipo etc.

It has been a little while since I first investigated this, but is
there a better way? Can i build a target specifying "darwin-4.0" [and
all the other settings that go along with that] and then darwin.4.2
[..] from within bjam or do i need to create an action which calls
back into bjam with the command line args I want?

Thanks,
Alex

-- 
Alex Norman
Developer | Core Technology
InstantAction | www.instantaction.com
618 NW Glisan St, Suite 401
Portland, OR 97209
e - alexn_at_[hidden]

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