New linker with Xcode 3.0
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