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



> > 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.

Sadly, I'm falling back into CodeWarrior jargon. In CodeWarrior, if you had
a file called <projectname>.exp, it would automatically be scanned for the
names of subroutines that should be entry points.

In XCODE, there is a Build Setting you have to set on the Target to nominate
such a file which can actually be called anything you like - I just got used
to .exp

Can't remember off the top of my head which setting it is, but its
definitely there, and seemed reasonably obvious.  Something like 'exports
file' ???

Put one entry point per line.
 _______________________________________________
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.