• 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: statically linking one of my framework to a foundation tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: statically linking one of my framework to a foundation tool


  • Subject: Re: statically linking one of my framework to a foundation tool
  • From: Aurélien Hugelé <email@hidden>
  • Date: Tue, 4 Jan 2005 18:01:48 +0100


On 4 janv. 05, at 17:54, Nick Zitzmann wrote:


On Jan 4, 2005, at 9:39 AM, Aurélien Hugelé wrote:

now i have another project, that would need linking one of my framework to a *foundation tool* (so no framework is not embeddable). I need static linking (As i understand ...)
can this be done ?

No; you can't statically link something to a dynamic library, and I don't think there is a way to create a static framework. (You can create a static library, but not a static framework.) What you might want to do instead is consider

excuse me for my ignorance but i don't understand why you call a foundation tool, a dynamic library ...


relocating your framework to a standard path, e.g. /Library/Frameworks, and using it from there. You shouldn't need to change the framework's installation path to do this; if you put a framework into /Library/Frameworks, the linker will probably find it without any problems.

yes this works, but installing frameworks to this location requires (i think) a package with an installer (which i often hate :-( )



Nick Zitzmann <http://www.chronosnet.com/>



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: statically linking one of my framework to a foundation tool
      • From: Bob Ippolito <email@hidden>
References: 
 >statically linking one of my framework to a foundation tool (From: Aurélien Hugelé <email@hidden>)
 >Re: statically linking one of my framework to a foundation tool (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: NSBox addSubview positioning
  • Next by Date: Re: Where is the API for proxy icons?
  • Previous by thread: Re: statically linking one of my framework to a foundation tool
  • Next by thread: Re: statically linking one of my framework to a foundation tool
  • Index(es):
    • Date
    • Thread