• 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: Static Library Equivalent of a Framework?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static Library Equivalent of a Framework?


  • Subject: Re: Static Library Equivalent of a Framework?
  • From: "Timothy J. Wood" <email@hidden>
  • Date: Mon, 17 Nov 2003 18:56:02 -0800

On Monday, November 17, 2003, at 09:19  AM, Jim Ingham wrote:

Note that if you have resources in your framework, you can't access them as straightforwardly if you try to make a "static framework" as you would with a dynamic framework. The CFBundle code relies on noticing where it was loaded from to know where all it's associated structure is. All this information is lost when you link statically.

Right -- but presumably a 'static framework' would have support in Xcode for merging resources from the framework into the app (care would need to be taken to avoid duplicates).


One of the most interesting part of a 'static framework' is that it would work around the limitation of -mdynamic-no-pic not being supported for frameworks and bundles. I'm really not clear on why we can't have MH_FVMLIB frameworks with -mdynamic-no-pic -- I assume Apple doesn't want to guarantee a range of memory for ISV frameworks.

-tim
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Static Library Equivalent of a Framework?
      • From: Jim Ingham <email@hidden>
References: 
 >Re: Static Library Equivalent of a Framework? (From: Jim Ingham <email@hidden>)

  • Prev by Date: Re: Which library for std::char_traits?
  • Next by Date: Re: building select files with debug info
  • Previous by thread: Re: Static Library Equivalent of a Framework?
  • Next by thread: Re: Static Library Equivalent of a Framework?
  • Index(es):
    • Date
    • Thread