Boost logo

Boost :

Subject: Re: [boost] linking on OSX
From: David M. Cotter (me_at_[hidden])
Date: 2009-10-21 01:22:48


well, no i meant bjam

is "boost.build" another name for "bjam" ??

this is what i use to build boost right now:

> ./bjam macosx-version-min=10.4 architecture=combined install

so are you saying i can do this?

> ./bjam macosx-version-min=10.4 architecture=combined linkflags="-
force_cpusubtype_ALL" install

?

On Oct 20, 2009, at 10:10 PM, Vladimir Prus wrote:

> 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
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


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