• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: libc UNIX2003 mystery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libc UNIX2003 mystery


  • Subject: Re: libc UNIX2003 mystery
  • From: Matt Gough <email@hidden>
  • Date: Wed, 8 Dec 2010 10:42:25 +0000

Not sure if it is the same thing, but in my xcconfig file I have:

	// Need to set mmacosx-version-min as otherwise it tries to use UNIX2003 versions
	// on Tiger, where they don't exist. Without this you will see us fail to
	// find some POSIX symbols at runtime.
	OTHER_CFLAGS						= -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET)


Matt

On 7 Dec 2010, at 20:19:00, Andy O'Meara wrote:

>
>
> 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

 _______________________________________________
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

References: 
 >libc UNIX2003 mystery (From: Andy O'Meara <email@hidden>)
 >Re: libc UNIX2003 mystery (From: Andy O'Meara <email@hidden>)
 >Re: libc UNIX2003 mystery (From: Scott Ribe <email@hidden>)
 >Re: libc UNIX2003 mystery (From: Scott Ribe <email@hidden>)
 >Re: libc UNIX2003 mystery (From: Andy O'Meara <email@hidden>)

  • Prev by Date: Re: Code Signing "object file format invalid or unsuitable"
  • Next by Date: Re: Xcode 3.2.5 and iOS4 frameworks code completion (code sensing)
  • Previous by thread: Re: libc UNIX2003 mystery
  • Next by thread: Re: libc UNIX2003 mystery
  • Index(es):
    • Date
    • Thread