Re: Xcode 2.5, ppc, link errors
Re: Xcode 2.5, ppc, link errors
- Subject: Re: Xcode 2.5, ppc, link errors
- From: Wyatt Webb <email@hidden>
- Date: Wed, 13 Feb 2008 13:36:07 -0800
On Feb 8, 2008, at 3:48 AM, Scid wrote:
John Brownie wrote:
On 8/2/08 3:22 PM Robert J. Lang wrote:
I've been getting a series of link errors in the ppc build of an
app that
built OK several months (and one or two Xcode versions) ago: the
error log
is below. The i386 builds work fine. Based on the missing symbol
names, it
seems like maybe I missed some setting when Xcode updated the
project? Any
suggestions for directions to explore would be most appreciated.
Welcome to the club. It doesn't seem to be possible to solve with
Xcode 2.5 or 3.0 without moving to gcc 4, which means abandoning
pre-10.3.9 compatibility. The best solution appears to be to
retain a Tiger volume and run Xcode 2.4.1 on that.
I got PPC+gcc3.3+pre-10.4 to work with Xcode 2.5 by (so far) entirely
copying Xcode 2.4.1's 10.3.9 SDK directory over the (faulty?) one
Xcode
2.5 uses. This at least links, don't know of any possible problems.
Regards,
Scid
Following on that idea, we simply did a diff of the two SDKs and
discovered that the only difference is that the 2.5 version has an
alias named "libstdc++.dylib" that points to libstdc++.6.0.3.dylib.
If you remove that alias, the compiles work and we can run our
application on 10.2.8.
More interestingly, the 10.3.9 SDK that Xcode 3 lays down does NOT
have this alias. It seems to be a 2.5 thing only.
So, we're at a point where we can trying building without that one
alias and letting QA help us find any problems. All seems to be well,
so far.
I'd love to hear from an Apple employee about why that alias was
added and then removed. Was it intentional? If so, what am I risking
by removing it?
For now, we'll run with this fix,
Wyatt
_______________________________________________
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