• 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: Peter O'Gorman <email@hidden>
  • Date: Wed, 21 Oct 2009 16:31:28 -0500

On 10/21/2009 03:07 PM, David M. Cotter wrote:

"g++" -dynamiclib -Wl,-single_module -install_name
"libboost_thread.dylib" -o
"bin.v2/libs/thread/build/darwin-4.2.1/release/architecture-combined/macosx-version-min-10.4/threading-multi/libboost_thread.dylib"
"bin.v2/libs/thread/build/darwin-4.2.1/release/architecture-combined/macosx-version-min-10.4/threading-multi/pthread/thread.o"
"bin.v2/libs/thread/build/darwin-4.2.1/release/architecture-combined/macosx-version-min-10.4/threading-multi/pthread/exceptions.o"
"bin.v2/libs/thread/build/darwin-4.2.1/release/architecture-combined/macosx-version-min-10.4/threading-multi/pthread/once.o"
-headerpad_max_install_names -mmacosx-version-min=10.4 *-Wl*,-dead_strip
-no_dead_strip_inits_and_terms -arch i386 -arch ppc *-Wl*
-force_cpusubtype_ALL

note: see it's in there TWICE? is the problem that i'm missing a comma?

Yes, you're missing a comma.

GCC does not pass the -force_cpusubtypes_ALL to the linker, it just silently drops it, so it must be quoted.

Is bjam eating your comma, or did you just not put it in?

If bjam eats it, try quoting with -Xlinker instead.

Something like:

linkflags="-Xlinker -force_cpusubtype_ALL"

as one of the arguments to bjam.

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


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

  • Prev by Date: Re: [boost] linking on OSX
  • Next by Date: atoi() with wchar Arabic Digits
  • Previous by thread: Re: [boost] linking on OSX
  • Next by thread: Strange Parallel Target Building problem
  • Index(es):
    • Date
    • Thread