Question about static linking...
Question about static linking...
- Subject: Question about static linking...
- From: Chas Spillar <email@hidden>
- Date: Thu, 09 Mar 2006 16:31:31 -0800
- Thread-topic: Question about static linking...
Hello,
I want to create a static library which only exports a few function calls.
Then I want to include this in another target to be used with another target
I am building.
I tried the following:
1) Created a Carbon static library (foo.a),
2) Created an export file foo.exp,
3) Indicated the following options in the build settings for the foo
library:
Export Symbols File = foo.exp
Symbols Hidden by Default = checked
4) Included the library in my other target (bar)
However, there are two problems that I see:
1) My library foo.a when viewed with nm -m shows all the external and
private symbols. I want these other symbols to not show up in the build
library.
2) When linking my other target (bar) it doesn't find the symbols in my
static library.
Usually, I could just include the files for the library in my target
directly, but I need to give my project to an external programmer and I
can't give out the sources for this particular library.
Any help would be appreciated,
Thank you,
Chas.
_______________________________________________
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