• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Weak linking framework with bundle ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Weak linking framework with bundle ?
      • From: Mike Richmond <email@hidden>
References: 
 >Weak linking framework with bundle ? (From: Mike Richmond <email@hidden>)

  • Prev by Date: Re: ZeroLink
  • Next by Date: Re: How bad is GDB and C++? (was: GDB and c++ template class)
  • Previous by thread: Re: Weak linking framework with bundle ?
  • Next by thread: Re: Weak linking framework with bundle ?
  • Index(es):
    • Date
    • Thread