• 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: Missing libstdc++ symlink in the 10.6 SDK from Xcode 4.3?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing libstdc++ symlink in the 10.6 SDK from Xcode 4.3?


  • Subject: Re: Missing libstdc++ symlink in the 10.6 SDK from Xcode 4.3?
  • From: Andreas Grosam <email@hidden>
  • Date: Wed, 29 Feb 2012 13:31:19 +0100

On Feb 29, 2012, at 9:43 AM, Jamie Kirkpatrick wrote:

> Here's the output from the two compilers on my system:
>
> jkp@143 [09:41:23] [~]
> -> % clang++ -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -print-search-dirs

You shouldn't pass -syslibroot, but rather -sysroot to the compiler (to either gcc or clang). Nonetheless, the result doesn't look better then.

The compiler driver would evaluate the correct settings when passing -sysroot to the underlaying tools like ld and libtool. -syslibroot is for the linker only, if I'm not wrong.



In order to gather more info:
ld used to have a flag -t which "Logs each file (object, archive, or dylib) the linker loads.  Useful for debugging problems with search paths where the wrong library is loaded."

However, so far I had no luck to pass the -t flag to ld. (tried: -Xlinker -t,  -Wl,-t, …). So, still I'm not able to figure out which library search paths are used when linking.



Andreas
 _______________________________________________
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: 
 >Missing libstdc++ symlink in the 10.6 SDK from Xcode 4.3? (From: Jamie Kirkpatrick <email@hidden>)
 >Re: Missing libstdc++ symlink in the 10.6 SDK from Xcode 4.3? (From: Andreas Grosam <email@hidden>)
 >Re: Missing libstdc++ symlink in the 10.6 SDK from Xcode 4.3? (From: Jamie Kirkpatrick <email@hidden>)
 >Re: Missing libstdc++ symlink in the 10.6 SDK from Xcode 4.3? (From: Andreas Grosam <email@hidden>)
 >Re: Missing libstdc++ symlink in the 10.6 SDK from Xcode 4.3? (From: Anders Montonen <email@hidden>)
 >Re: Missing libstdc++ symlink in the 10.6 SDK from Xcode 4.3? (From: Jamie Kirkpatrick <email@hidden>)

  • Prev by Date: Re: Simulator restriction?
  • Next by Date: Re: Xcode - An Apple Embarrassment
  • Previous by thread: Re: Missing libstdc++ symlink in the 10.6 SDK from Xcode 4.3?
  • Next by thread: R: Re: Xcode and Mapnik
  • Index(es):
    • Date
    • Thread