Re: Static Library Equivalent of a Framework?
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.