Re: Problem Getting Application to Launch Using Debugger
Re: Problem Getting Application to Launch Using Debugger
- Subject: Re: Problem Getting Application to Launch Using Debugger
- From: Dan Korn <email@hidden>
- Date: Tue, 15 Dec 2009 18:13:41 -0600
>> On Dec 9, 2009, at 11:51 PM, Crazy Joe wrote:
>>> And unfortunately, I had to change the code in now countless places just to get it to build in 3.2.1 and 10.6, that it'd be rather difficult to trace back what change that I made which might be causing this problem, if in fact that's even the case.
> On Dec 11, 2009, at 1:10 PM, Dan Korn wrote:
>> Why did you have to make so many code changes? I just added GCC_VERSION = 4.0 to our projects, and they compile just fine under Xcode 3.2 and Snow Leopard. That said, I do have some subtle issues with the new linker in Xcode 3.2*, but I'm using the same compiler as in previous versions.
On Dec 11, 2009, at 3:08 PM, Joe Programmer wrote:
> I had to make many code changes because the code I'm working with, originally put together in 2008, utilized several legacy api's such as MoreIsBetter, MoreFIlesX and other obscure 3rd party code built on those api's (on top of hacks into the event record), all of which had been deprecated I *think* since 2005 and 10.4, and finally broke in 10.6. I did *not* write this code. ;)
Okay, but 2008 isn't that long ago in this context. Those CodeWarrior- and HFS-based "legacy APIs" you list were just as deprecated last year, or even three years ago, as they are now.
Anyway, there's no reason that code that you built under Xcode 2.5 shouldn't build under Xcode 3.2, if you're specifying the same compiler and SDK. Actually, since you already said you were using GCC 4.0, the only thing different is probably the SDK. So, you probably just need to make sure that the project is still set to build against the 10.4 SDK (or whatever SDK you were using in Xcode 2.5) instead of the "Current Mac OS" SDK (in the Project Info dialog, General tab). If you do that, then the compilation should be exactly the same as in Xcode 2.5. Same compiler, same headers, no reason for anything to "break."
Dan
_______________________________________________
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