Re: Build warning when SDK = 10.1.5
Re: Build warning when SDK = 10.1.5
- Subject: Re: Build warning when SDK = 10.1.5
- From: Chris Espinosa <email@hidden>
- Date: Fri, 23 Jan 2004 10:14:53 -0800
On Jan 23, 2004, at 6:54 AM, email@hidden wrote:
Hi List,
I get the following build warning when I use SDK 10.1.5 from Xcode, all
other SDK versions build without warning.
Warning -L: directory name
(/Developer/SDKs/MacOSX10.1.5.sdk/usr/lib/gcc/darwin/3.3) does not
exist
1. I don't remember gcc 3.3 being available on 10.1.5 but that was a
long
time ago so that's not my real concern, however from what I recall in
order
to maintain compatibility for KEXTs built for 10.1.5 then gcc 2.95 is
required. So how do I change the compiler version, can't find it
anywhere?
2. The directory indeed does not exists, in fact my 10.1.5 SDK
directory
does not contain a gcc directory in it's usr/lib. How do I fix that?
The 10.1.5 SDK should really only be used with gcc2.95.2, as there are
certain aspects of the Cheetah standard libraries that are incompatible
with gcc3-series compilers. Code you build with 2.95.2/10.1.5 will of
course run on later OS releases, but cannot take advantage of new
features in those releases, because to do so would require the
weak-linking functionality that was introduced in 10.2.
(One of those changes was the addition of libraries to /usr/lib/gcc for
gcc 3.1 and later, which is why they're not there on 10.1.5 and why gcc
3.3 is looking for files there).
So the 10.1.5 SDK is most useful for building products pretty much
exclusively for 10.1.
Chris Espinosa
Apple
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.