Re: bsd dynamic library dependencies help
Re: bsd dynamic library dependencies help
- Subject: Re: bsd dynamic library dependencies help
- From: "Paul Sanders" <email@hidden>
- Date: Tue, 29 Dec 2009 16:41:47 -0000
> Somebody long ago was
kind enough to write circular dependencies into some of these libraries I am
working with. Any thoughts on whether Xcode will handle
that?
The usual solution to this kind of problem is to create a
stub library (of bar, say) which defines the symbols required by foo and has no
external dependencies. You can then link foo against the stub version of
bar, and then link the real version of bar against foo. I doubt you
can do all this in a single project though.
There might also be some mileage in investigating 'weak
references' ("-undefined dynamic_lookup"). I have not
tried this myself so I cannot vouch for it, and it is not without a
downside:
Paul Sanders.
|
_______________________________________________
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