Re: libc UNIX2003 mystery
Re: libc UNIX2003 mystery
- Subject: Re: libc UNIX2003 mystery
- From: Andy O'Meara <email@hidden>
- Date: Tue, 7 Dec 2010 14:19:00 -0600
On Dec 7, 2010, at 1:40 PM, Scott Ribe wrote:
> On Dec 7, 2010, at 12:11 PM, Scott Ribe wrote:
>>
>> On Dec 7, 2010, at 11:05 AM, Andy O'Meara wrote:
>>>
>>> Since removing that project item causes the hundreds of symbols in the static lib to not be found, it seems like it's pulling in the right lib.
>>
>> Agreed.
>
> Oh second thought, I take that back. You remove it, it doesn't try to link to the lib at all. You add it, and if the dylib is in the linker's search path, the dylib will be used.
>
Just so we're on the same page, there are no dylibs in play. If I remove the static lib from my project and it course can't find any of the symbols present in my lib.
After checking out http://developer.apple.com/library/mac/#releasenotes/Darwin/SymbolVariantsRelNotes/index.html it seems like setting __DARWIN_ONLY_UNIX_CONFORMANCE=1 in my preprocessor settings should do the trick. It does, but with the exception that __DARWIN_SUF_EXTSN is still set to "$DARWIN_EXTSN", so without DARWIN_EXTSN defined, I get stuff like _fsync$DARWIN_EXTSN emitted.
How can I define __DARWIN_SUF_EXTSN to just "" ?? I can't find the def of DARWIN_EXTSN anywhere.
Argh. _______________________________________________
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