Re: Weak linking framework with bundle ?
Re: Weak linking framework with bundle ?
- Subject: Re: Weak linking framework with bundle ?
- From: Rosyna <email@hidden>
- Date: Fri, 5 Nov 2004 12:27:06 -0700
I meant to ask... If you completely delete the framework, does the
bundle/application still compile and link? If it does, it isn't weak
linking the framework. The way you say you use NSAddressOfSymbol()
sounds like you aren't actually weak linking at all. It sounds like
you are dynamically loading the bundle and dynamically loading the
symbols. Weak linking doesn't require the use of NSAddressOfSymbol()
or NSIsSymbolNameDefined().
Say you have a function void Bob(void) doing a test for if
(Bob!=NULL) would determine if it is available with weak linking. No
getting the address or seeing it if is defined.
Ack, at 11/4/04, Mike Richmond said:
A CrashReporter log includes the weak linked framework in the list
of binary images.
My link command is:
/usr/bin/g++2 -Wl,-weak_framework -Wl,<framework_name>
-F<framework_location> -bundle ...
and I am running 10.3.4. Might this be a failing of gcc2?
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
_______________________________________________
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