Boost logo

Boost :

Subject: Re: [boost] linking on OSX
From: David M. Cotter (me_at_[hidden])
Date: 2009-10-21 14:12:11

please be explicit, are you saying i should type exactly this:

./bjam macosx-version-min=10.4 architecture=combined linkflags="-Wl,-
force_cpusubtype_ALL" --with-thread -a -n install

cuz that didn't do anything

On Oct 21, 2009, at 11:03 AM, Peter O'Gorman wrote:

> On 10/21/2009 12:26 PM, David M. Cotter wrote:
>> you can see that the build system is in fact emitting the correct
>> command for linking, however it is apparently being ignored on PPC
>> malkier:lib davec$ otool -f -v ./libboost_thread.dylib
>> Fat headers
>> fat_magic FAT_MAGIC
>> architecture *ppc7400*
>> cpusubtype *CPU_SUBTYPE_POWERPC_7400*
>> capabilities 0x0
>> so i'm dead in the water on this project. any insight or help that
>> solves this would win you free mac Karaoke software. :) and my
>> gratitude.
> Change it to -Wl,-force_cpusubtype_ALL, the flag is not passed along
> by gcc to the linker.
> If you build all your object files with the -mmacosx-version-min
> flag, as far as I know, you shouldn't be getting ppc7400 in the
> cpusubtype.
> Peter
> --
> Peter O'Gorman

Boost list run by bdawes at, gregod at, cpdaniel at, john at