Re: Xcode 2.5, ppc, link errors
Re: Xcode 2.5, ppc, link errors
- Subject: Re: Xcode 2.5, ppc, link errors
- From: Chris Espinosa <email@hidden>
- Date: Sat, 16 Feb 2008 09:45:28 -0800
On Feb 16, 2008, at 12:38 AM, Thomas Engelmeier wrote:
On 14.02.2008, at 04:03, John Brownie wrote:
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.
The same applies to the 10.4u SDK, which is what I need. Removing
that symbolic link makes things work.
Interestingly enough, my application now also builds with Xcode 3,
but I've changed so many settings to try to get it all to work that
I don't know what the magic trick is! I haven't tried running it
(either compiled by 2.5 or 3.0) on 10.2.8, though, so I don't know
if my problem is completely solved.
Only if you don't use QuickTime. Xcode 3 10.4.u builds won't launch
on 10.4.8 (i386) machines.
If you want to deploy to 10.4.0 through 10.4.8, add -no_uuid to the
Other Linker Flags.
(Why is this necessary? In Xcode 3.0, gdb can automatically find the
correct .dSYM file for any dyld binary, even if it's stored on a
networked server. Every dylib is stamped with a unique ID, and Xcode
installs a Spotlight importer that registers every .dSYM file under
that UUID. So whenever gdb loads a binary, it does a Spotlight lookup
to find its symbol file.
Tiger's dyld loader didn't understand the extra UUID section, so we
modified it in 10.4.9 and later to do so. If you want to deploy your
Tiger binary to earlier systems, you have to suppress generation of
the UUID.)
Does the QuickTime issue you're talking about refer to the updating of
the QuickTime frameworks and libraries to QuickTime 7.1 with Xcode 2.5
and 3.0 WWDC 2007 releases? If you build with the 10.4u SDK that came
with 2.4.1 you can deploy to 10.4.8 and earlier systems that have not
upgraded to QuickTime 7.1.
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: | |
| >Xcode 2.5, ppc, link errors (From: "Robert J. Lang" <email@hidden>) |
| >Re: Xcode 2.5, ppc, link errors (From: John Brownie <email@hidden>) |
| >Re: Xcode 2.5, ppc, link errors (From: Scid <email@hidden>) |
| >Re: Xcode 2.5, ppc, link errors (From: Wyatt Webb <email@hidden>) |
| >Re: Xcode 2.5, ppc, link errors (From: John Brownie <email@hidden>) |
| >Re: Xcode 2.5, ppc, link errors (From: Thomas Engelmeier <email@hidden>) |