Boost logo

Boost :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-11-17 01:11:00


Mat Marcus wrote:
> On Nov 12, 2007 7:47 AM, Rene Rivera <grafikrobot_at_[hidden]> wrote:
>
>> There's been a patch for some time now
>> <http://svn.boost.org/trac/boost/ticket/989>. But no one has done the
>> changes I requested to it, hence it's never been applied.

> It just so happens that I'm digging into my patch once more. I tried

Oh, good :-)

> implementing your suggested modifications. A couple of questions
> arose:
>
> gcc on Mac OS X/darwin offers the Apple-only -arch option.
>
> " -arch arch
> Compile for the specified target architecture arch. The allowable
[...]
> "
>
> This option is separate from the -march option: -arch and -march are
> two separate compiler flags, the latter with established bjam/gcc
> usage. That is, if I replace my <arch> feature with an (enahnced)
> <architecture> feature from builtin.jam, the existing gcc options
> involving -march are eclipsed. The same holds for <address-model>. For
> example, <address-model>32 maps to -m32 under 'normal' gcc, whereas I
> would commandeer <architecture>power/<address-model>32, emitting -arch
> ppc instead. Is this what you want?

If that's what works for the Apple GCC... Yes.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk