Re: Deprecated warnings on Intel 10.4.11, not on PPC 10.4.11
Re: Deprecated warnings on Intel 10.4.11, not on PPC 10.4.11
- Subject: Re: Deprecated warnings on Intel 10.4.11, not on PPC 10.4.11
- From: Stephen Kay <email@hidden>
- Date: Fri, 17 Aug 2012 19:57:32 -0400
- Thread-topic: Deprecated warnings on Intel 10.4.11, not on PPC 10.4.11
on 8/17/12 10:39 AM, Chris Hanson at email@hidden wrote:
>> Should I be compiling against the Current Os (10.4.11), or set everything to
>> compile against the 10.4u SDK? I don't understand the difference when I'm on
>> a 10.4 machine.
>
> The difference is that the Current OS headers are whatever headers and
> libraries happen to be on your Mac at the time you do your build, while an SDK
> is a well-defined set of headers and libraries supplied by Apple.
>
> Here¹s what I think you'll want to do, probably in order:
Thanks very much for the comprehensive response!
> - Update to Xcode 2.5 (the latest version for Mac OS X 10.4)
> - Build your app for 32-bit Intel and PowerPC against the Mac OS X 10.4
> (Universal) SDK
Done. I've built against the 10.4 (Universal) SDK, and at least now I'm
getting the same deprecated warnings on the PPC as the Intel machine.
Let me just verify that I have all the correct settings. In the Project's
inspector, I've set "Cross Develop using Target SKD" to Mac OS X 10.4
(Universal).
Then, in the Build > Deployment > Mac OS X Deployment Target, I've set that
to 10.4 as well. Is there anything else I'm missing?
> - Upgrade the compiler used for your app to GCC 4.0, fixing any issues this
> uncovers
Not sure what you mean here; when I check gcc -v in Terminal, it says gcc
version 4.0.1.
> Don¹t underestimate the qualification you¹ll need to run well on Intel,
> either, if you have code that deals with raw data (file formats and such);
> lots of older code makes the assumption that ³Mac² means ³big-endian² and may
> thus need byte-swapping added.
Yep, I'm aware of that. Fortunately, this same code base is also used for
Windows versions, so I have all the byte-swapping stuff already; I just have
to figure out how to integrate it on the Mac side.
Thanks,
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
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