On 11.04.2010, at 19:25, Jens Alfke wrote: > > On Apr 11, 2010, at 5:07 AM, Christian Ziegler wrote: > >> it makes sense to convert this library to a static library. I did that and >> stumbled upon the problem that my test app (C-Shell-Toll) now has to link >> against Foundation. I would like to avoid that since the library should >> encapsulate everything which is Objective-C. Is that even possible? > > Not really. Any binary that contains calls into a framework has to link > against that framework. If you include a static library in your app, it > becomes part of the app binary, by definition. > > There shouldn’t be any problem with having the app link against Foundation. > > —Jens
OK thanks!_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com