Re: ld: library not found for -lcrt1.10.5.o when trying to build against MacOSX10.4u.sdk in Leopard
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: Terry Simons <email@hidden>
- Date: Wed, 31 Oct 2007 01:30:33 -0600
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.
- Terry
On Oct 31, 2007, at 1:09 AM, Eric Albert wrote:
On Oct 30, 2007, at 11:26 PM, Terry Simons wrote:
gcc -I../src/cardif -Wall -fno-strict-aliasing -g -O2 -isysroot /
Developer/SDKs/MacOSX10.4u.sdk
...
ld: library not found for -lcrt1.10.5.o
I think this is because the compiler believes you're targeting 10.5
as a minimum OS version. It doesn't know much about what that SDK
is. Try passing -mmacosx-version-min=10.4 and see if that fixes it.
Hope this helps,
Eric
_______________________________________________
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