• 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
New linker with Xcode 3.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New linker with Xcode 3.0


  • Subject: New linker with Xcode 3.0
  • From: Andrew Kimpton <email@hidden>
  • Date: Wed, 31 Oct 2007 10:36:01 -0400

It looks like Xcode 3.0 has a different default linker from Xcode 2.x

/Developer/usr/bin has

2098528 Sep 23 18:40  ld
 861552 Sep 23 18:42  ld_classic

ld64 is a symlink to ld

I'm having a problem with a vendor supplied static library failing to link with a somewhat obscure error :

....(FTSource000081.o_intel), in section __TEXT, __text reloc 10: bad pc-rel vanilla reclocation length

I've found that if I change ld to being a symlink to ld_classic (and move the current ld to ld64) my link error goes away .

Whilst we work with the vendor of the third-party library to see if they can resolve the issue by rebuilding their code with Xcode 3.0 is there a way I can change a project setting to use a different linker ? Or is moving things around in /Developer/usr/bin the only way to 'get back' to the older linker ?

Anything I should be aware of between ld64/ld_classic ? What was the driving force behind the change ?

Can I mix linker output (both static and dynamic) from the two different linkers ? The above message would seem to suggest not - but I have a lot of other static (prebuilt) libraries I link against that aren't giving this problem.

Thanks

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
  • Prev by Date: Distributed Build confusion
  • Next by Date: Can I tweak an old project to work better with Xcode 3?
  • Previous by thread: Re: Distributed Build confusion
  • Next by thread: Can I tweak an old project to work better with Xcode 3?
  • Index(es):
    • Date
    • Thread