Boost logo

Boost :

Subject: Re: [boost] linking on OSX
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-10-21 01:10:26


David M. Cotter wrote:

> from Chris again:
>
>> Just to follow up on this: there appears to be some odd (or at least
>> non-obvious) behaviour with the linker in Xcode 3.2. If you set the
>> deployment target to 10.3, the resulting architecture ends up as
>> ppc7400 whereas 10.4 will give you ppc. (10.5 and 10.6 give you
>> ppc7400.)
>>
>> Anyway, if you know your code will work on all PowerPC CPU subtypes,
>> it looks like you could use the -force_cpusubtype_ALL linker flag (I
>> haven't tried it).
>
> again: how do i do this using bjam?

I think you meant "using Boost.Build". There are cflags and linkflags properties
that you can specify on the command line. E.g.

        linkflags="-force_cpusubtype_ALL"

Does this help?

- Volodya


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