• 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: XCODE choose system's EXPAT instead of my. Argh....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCODE choose system's EXPAT instead of my. Argh....


  • Subject: Re: XCODE choose system's EXPAT instead of my. Argh....
  • From: Ruslan Zasukhin <email@hidden>
  • Date: Fri, 30 Jun 2006 21:26:44 +0300
  • Thread-topic: XCODE choose system's EXPAT instead of my. Argh....

On 6/30/06 8:18 PM, "Eric Albert" <email@hidden> wrote:

>>>> Hi Ruslan,
>>>>
>>>> have you tried to disable switch "Link with default libs" ?
>>>
>>> Yes, but then it not links...at in list of not found sylbols there  was no
>>> expat symbols. Only STD symbols.
>>
>> Yeah, you'll need to re-specify the default libraries manually,  excluding
>> the expat library.  This is standard operating procedure when  requiring a
>> static link of one particular library which is packaged as a dylib  in the
>> system.  Unless there's an "ignore specific default library" switch  out
>> there somewhere (like what MS's linker uses), that's likely the  only way
>> around this.
>
> There's another way to do this which doesn't require you to know the
> list of standard libraries (which can change from release to release
> and shouldn't be hardcoded in your project).  Specify the -
> search_paths_first flag to the linker (you might have to use -Wl,-
> search_paths_first in Xcode) and as long as you've given the path to
> your static library in your linker directories Xcode will use your .a
> file before it finds the system's dylib.
>
> See the ld man page for details about -search_paths_first.
>
> Hope this helps,
> Eric

Thank you, Eric!

I will try this asap.

Although I think xcode team should consider to make this flag to be ON on
default. This is the most expected behavior


--
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


 _______________________________________________
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

  • Follow-Ups:
    • Re: XCODE choose system's EXPAT instead of my. Argh....
      • From: Eric Albert <email@hidden>
References: 
 >Re: XCODE choose system's EXPAT instead of my. Argh.... (From: Eric Albert <email@hidden>)

  • Prev by Date: Re: beeping
  • Next by Date: Re: XCODE choose system's EXPAT instead of my. Argh....
  • Previous by thread: Re: XCODE choose system's EXPAT instead of my. Argh....
  • Next by thread: Re: XCODE choose system's EXPAT instead of my. Argh....
  • Index(es):
    • Date
    • Thread