Re: Linker issue: static lib which uses a dylib
Re: Linker issue: static lib which uses a dylib
- Subject: Re: Linker issue: static lib which uses a dylib
- From: Alastair Houghton <email@hidden>
- Date: Wed, 15 Aug 2007 12:51:01 +0100
On 15 Aug 2007, at 12:26, Simon Raisin wrote:
I was able to get by my issue by manually loading my dylib from
within my static lib (using dlopen and friends). It works and
wasn't painful, but I'd still like to understand why I couldn't do
everything at link time.
I'm wondering if it is an ordering issue on the ld command-line?
It sounds like it. Link order typically matters for Unix linkers,
which might be unexpected if you're used to (for instance)
Microsoft's linker.
I believe you can control the link order by re-ordering things in
your Xcode project. Did you try that?
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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