
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* cputype CPU_TYPE_POWERPC 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 http://pogma.com

AMDG David M. Cotter wrote:
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
The -n option causes the command lines to be printed and stop anything from actually being executed. In Christ, Steven Watanabe

David M. Cotter wrote:
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
The -n option causes the command lines to be printed and stop anything from actually being executed.
still fail: davec$ ./bjam macosx-version-min=10.4 architecture=combined linkflags="-Wl -force_cpusubtype_ALL" --with-thread -a install <build build build> davec$ otool -f -v ./libboost_thread.dylib Fat headers fat_magic FAT_MAGIC nfat_arch 2 architecture i386 cputype CPU_TYPE_I386 cpusubtype CPU_SUBTYPE_I386_ALL capabilities 0x0 offset 4096 size 119460 align 2^12 (4096) architecture ppc7400 cputype CPU_TYPE_POWERPC cpusubtype CPU_SUBTYPE_POWERPC_7400 capabilities 0x0 offset 126976 size 124024 align 2^12 (4096) davec$
participants (2)
-
David M. Cotter
-
Steven Watanabe