Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-17 06:29:19


Mat Marcus <mat-lists_at_[hidden]> writes:

> I am still just learning about the new twists in the MacTel (OS X on
> Intel) platform, but I know enough now to ask a question or two. It
> seems that the version of gcc that apple ships accepts a new command
> line option:
>
> -arch arch
> Compile for the specified target architecture arch. The allowable
> values are i386 and ppc. Multiple options work, and direct the
> compiler to produce ``fat'' binaries including object code for each
> architecture specified with -arch. This option only works if
> assembler and libraries are available for each architecture speci-
> fied. (APPLE ONLY)
>
> So a developer could produce a ppc, i386, or fat version of a given
> artifact. Fat exectuables will run on either architecture. Fat .o's,
> etc. will support this. How would this map to bbv2? Would the right
> thing be an <arch> featuire with possible values {ppc, i386, fat}?

I believe we already have a feature for target architecture... in v1.
Someone just needs to translate it to v2. In the meantime there's
always <cxxflags> et. al.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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