Re: Targeting 10.2.8 using Xcode 2.5?
Re: Targeting 10.2.8 using Xcode 2.5?
- Subject: Re: Targeting 10.2.8 using Xcode 2.5?
- From: Andrew Pontious <email@hidden>
- Date: Wed, 2 Jan 2008 13:20:32 -0800
On Jan 2, 2008, at 11:07 AM, Alexandra Morgan wrote:
I have upgraded to Leopard, and therefore had to install Xcode 2.5.
(Previously I used Xcode 2.something-earlier.) My projects target
10.2.8, so of course I installed the 10.2.8 SDK. But now, when I try
to build, I get this:
/Xcode2.5/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld:
can't locate file for: -lSystemStubs
collect2: ld returned 1 exit status
Looking in the 10.2.8 SDK's lib folder, there is no library named
SystemStubs. I do see it in later SDKs.
Is there some other setting I need to edit to get a target that will
run on 10.2.8?
It looks like you're using gcc 4.0.1. You need to use gcc 3.3 for
10.2, in addition to setting your SDK.
Look at your target's inspector window (select target icon in Groups &
Files, press Cmd-I), go to Rules section, go to "C source files using"
rule, try to change it, Xcode will tell you you can change the system
rule, but you can make a custom rule, do that, change it to use gcc 3.3.
I believe that will work.
You might also want to search on "10.2.8" in the xcode-users mailing
list archive to see what other kinds of problems people have had with
this.
-- Andrew
_______________________________________________
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