• 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: Problem with Xcode linker flags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Xcode linker flags


  • Subject: Re: Problem with Xcode linker flags
  • From: Eric Albert <email@hidden>
  • Date: Thu, 28 Sep 2006 14:21:26 -0700

Xcode uses gcc to link instead of ld, so using this in your target's Other Linker Flags should get -search_paths_first to be set:
-Wl,-search_paths_first


Hope this helps,
Eric

On Sep 28, 2006, at 12:54 PM, Wade Williams wrote:

Well, mainly because then our build processes will be different for Linux and Windows (i.e. we don't have to rename the library on those platforms.

It works fine when compiled with this flag on the command-line, so I'm just confused on why I can get it passed with XCode.

On Sep 28, 2006, at 10:30 AM, Nick Zitzmann wrote:


On Sep 28, 2006, at 8:40 AM, Wade Williams wrote:

I'm linking to a libz.a of my own making.

Is there any reason why you can't rename the file to "libmyz.a" or something similar? I think that ought to work, as long as you know what it does...

_______________________________________________ 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: 
 >Problem with Xcode linker flags (From: Wade Williams <email@hidden>)
 >Re: Problem with Xcode linker flags (From: Nick Zitzmann <email@hidden>)
 >Re: Problem with Xcode linker flags (From: Wade Williams <email@hidden>)

  • Prev by Date: Re: interpreting crashlog
  • Next by Date: Re: Problem with Xcode linker flags
  • Previous by thread: Re: Problem with Xcode linker flags
  • Next by thread: Re: Problem with Xcode linker flags
  • Index(es):
    • Date
    • Thread