• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [boost] linking on OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [boost] linking on OSX


  • Subject: Re: [boost] linking on OSX
  • From: "David M. Cotter" <email@hidden>
  • Date: Wed, 21 Oct 2009 11:12:11 -0700

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

 _______________________________________________
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

  • Follow-Ups:
    • Re: [boost] linking on OSX
      • From: Peter O'Gorman <email@hidden>
References: 
 >Re: [boost] linking on OSX (From: "David M. Cotter" <email@hidden>)
 >Re: [boost] linking on OSX (From: Peter O'Gorman <email@hidden>)

  • Prev by Date: Strange Parallel Target Building problem
  • Next by Date: Lost variable
  • Previous by thread: Re: [boost] linking on OSX
  • Next by thread: Re: [boost] linking on OSX
  • Index(es):
    • Date
    • Thread