Re: bsd static lib question
Re: bsd static lib question
- Subject: Re: bsd static lib question
- From: Luc Vandal <email@hidden>
- Date: Mon, 02 May 2005 14:18:44 -0400
Hi,
this is a somewhat old post but I still have a couple of questions.
I did want you said and if I add the .exp file in the target (meaning
project under Targets), it won't take notice of the .exp file. In fact,
the Exported Symbols File option seems to be disabled.
Now, if I add the .exp file in the project settings under Exported
Symbols File, then I get this error at linking:
/usr/bin/nmedit: symbols names listed in: exports.exp not in: /project
name/libProjectName.a
The symbols do exist. Unless there's something to be added in the
symbols declaration I really don't understand what I'm doing wrong!!!
Luc
On 10-Feb-05, at 7:31 PM, Chris Espinosa wrote:
The second technique is to use an export list. This is a file
(usually ending in the extension .exp) that contains a list of the
symbols to export, one per line (\n terminated). Create this file,
then choose the target, choose Get Info, click the Build tab, pull
down the column header in the first column to the Linking collection,
and find the Exported Symbols File build setting; set that to the name
of your .exp file. On the next build, only the symbols in that file
will be exported in your built library.
To get a start on building an .exp file, nm -gj <file> | sort | uniq
will give you a list of all exports from your library.
Chris _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden