Re: [boost] linking on OSX
Re: [boost] linking on OSX
- Subject: Re: [boost] linking on OSX
- From: Peter O'Gorman <email@hidden>
- Date: Wed, 21 Oct 2009 14:55:08 -0500
On 10/21/2009 01:12 PM, 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
I don't know how to use bjam, nor do I have any wish to learn, so I
can't help you with its command line arguments.
Did doing that give you -Wl,-force_cpusubtype_ALL for the g++ command
that creates libboost_thread.dylib?
Peter
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
--
Peter O'Gorman
http://pogma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden