Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing static library built into framework



On Fri, 22 Oct 2004 08:25:47 +1000, Jeff Laing <email@hidden> wrote:
> > So can I expose functions from the static lib through the (embedded
> > Cocoa) framework so that I don't have to link the main application to
> > the library?
> 
> I would think you could just declare the entry points in the static lib in
> your frameworks .exp file.

My framework doesn't have one. None of the frameworks on my system
seem to have one. I have never heard of this file, but I see some of
the UNIXy projects I have, like apr, have them.
> 
> Note I haven't tried doing this, it just seems to me that it should work.
> 
> > If I like the app to a dynamic version of the library,
> > will that work, or will I just have the library loaded twice (once
> > statically in the framework, once dynamically for the app)?
> 
> My understanding of dynamic libraries was that you should only get the one.
> 


-- 

Brent Gulanowski
http://www.boredastronaut.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.