Re: Linking and cross-referenced static libraries
Re: Linking and cross-referenced static libraries
- Subject: Re: Linking and cross-referenced static libraries
- From: Peter O'Gorman <email@hidden>
- Date: Mon, 16 Jul 2007 13:02:16 -0500
On Mon, 2007-07-16 at 10:49 -0700, Rush Manbert wrote:
> The GNU linker only reads each static library once, in the order in
> which the libraries are specified on the command line. Thus,
> cross-references between libraries can be a big headache. You can
> specify a library on the linker command line more than once, and each
> time its name is encountered, the linker will read it and attempt to
> resolve outstanding external references. If you have a Xcode project you
> can do this by using the "Other Linker Flags" build setting.
The static linker on Mac OS X is not GNU ld. See the opensource site and
look for cctools and ld64 projects if you want to find out more.
Peter
_______________________________________________
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