Re: Cross development header problems
Re: Cross development header problems
- Subject: Re: Cross development header problems
- From: Eric Albert <email@hidden>
- Date: Thu, 23 Feb 2006 19:31:14 -0800
On Feb 23, 2006, at 6:06 PM, David Litwin wrote:
<x-tad-bigger>When one compiles for an older SDK the standard system headers (at the level of the OS you are running) are still available and used, should a file not be found in the SDK.</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>In my case I include dlfcn.h for dlopen(), and only now that I’m linking found out that it isn’t available on 10.2.8. This is because I am running 10.4.4 and when it couldn’t find the file in /Developer/SDKs/MacOSX10.2.8.sdk it went and found it in /usr/include.
</x-tad-bigger>
Unfortunately, this is a bug in gcc 3.3. It was fixed in gcc 4.0, but that doesn't help you if you're targeting 10.2.8 because you have to use gcc 3.3 to target 10.2.8. You can file a bug about it, but it'll be dup'd to the existing on it, which is unlikely to be fixed at this point because it'd be a rather large change to an old codebase.
Sorry about that,
Eric
_______________________________________________
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