• 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: Nasm, PIC and the Leopard/XCode 3.0 linker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nasm, PIC and the Leopard/XCode 3.0 linker


  • Subject: Re: Nasm, PIC and the Leopard/XCode 3.0 linker
  • From: Andrew Kimpton <email@hidden>
  • Date: Mon, 5 Nov 2007 20:45:29 -0500


On Nov 1, 2007, at 2:22 PM, Chris Espinosa wrote:


On Nov 1, 2007, at 10:55 AM, David Wolstencroft wrote:

Thanks Jonas,

I now clearly see the issue in the ld release notes. However, the ld
man page (where I thought to look first) has not been updated to
reflect this known issue.

I see ld_classic, but how do I tell Xcode 3.0 to use this? I cannot
find how by searching the Xcode user guide.

Create a custom build setting in All Configurations.  Name it LD and set its value to $(DEVELOPER_DIR)/usr/bin/ld_classic

This will only work with the 10.4u SDK or earlier, and will not work with the 10.5 SDK or native Leopard libraries.

I've tried this for a project where I too need to invoke the 'classic' linker - however setting LD doesn't work for me since it seems that Xcode is using 'gcc' to do the link to create a dylib (in my case), rather than 'ld' so the variable doesn't seem to have any effect (if gcc is supposed to observe it when choosing which linker to invoke it seems to be ignoring it too).

Short of remaking the symbolic links (which is pretty global) is there an alternative ? Modify the link rule in the particularly problem project ? 
 
Chris

Andrew 8-)


 _______________________________________________
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: 
 >Re: Nasm, PIC and the Leopard/XCode 3.0 linker (From: Jonas Maebe <email@hidden>)
 >Re: Nasm, PIC and the Leopard/XCode 3.0 linker (From: "David Wolstencroft" <email@hidden>)
 >Re: Nasm, PIC and the Leopard/XCode 3.0 linker (From: Chris Espinosa <email@hidden>)

  • Prev by Date: PDF Documentation location
  • Next by Date: Re: PDF Documentation location
  • Previous by thread: Re: Nasm, PIC and the Leopard/XCode 3.0 linker
  • Next by thread: RE: llvm?
  • Index(es):
    • Date
    • Thread