• 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: ld: library not found for -lcrt1.10.5.o when trying to build against MacOSX10.4u.sdk in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld: library not found for -lcrt1.10.5.o when trying to build against MacOSX10.4u.sdk in Leopard


  • Subject: Re: ld: library not found for -lcrt1.10.5.o when trying to build against MacOSX10.4u.sdk in Leopard
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 31 Oct 2007 00:38:56 -0700


On Oct 31, 2007, at 12:30 AM, Terry Simons wrote:

Hmm


Quick question regarding this option.


If I were to do something like:


-mmacosx-version-min=10.3, would that force a link against the 10.3 SDK?  (For instance on Leopard?)


It seems so, but it's pretty black-box to me, so I thought I'd ask for clarification.


No.

-isysroot sets the SDKs.  That controls the newest system you can use APIs from and link against.

-mmacosx-version-min sets the compiler runtime.  That controls the oldest system you can run on.

There are cases where you want them to be different, for example, to run on 10.3 but to be able to use APIs from 10.4 via weak-linking.  That's why there are two settings.

Chris
 _______________________________________________
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: 
 >ld: library not found for -lcrt1.10.5.o when trying to build against MacOSX10.4u.sdk in Leopard (From: Terry Simons <email@hidden>)
 >Re: ld: library not found for -lcrt1.10.5.o when trying to build against MacOSX10.4u.sdk in Leopard (From: Eric Albert <email@hidden>)
 >Re: ld: library not found for -lcrt1.10.5.o when trying to build against MacOSX10.4u.sdk in Leopard (From: Terry Simons <email@hidden>)

  • Prev by Date: Re: ld: library not found for -lcrt1.10.5.o when trying to build against MacOSX10.4u.sdk in Leopard
  • Next by Date: Any way to get tiny "clear console" button back?
  • Previous by thread: Re: ld: library not found for -lcrt1.10.5.o when trying to build against MacOSX10.4u.sdk in Leopard
  • Next by thread: Re: ld: library not found for -lcrt1.10.5.o when trying to build against MacOSX10.4u.sdk in Leopard
  • Index(es):
    • Date
    • Thread