Static Library and Exports
Static Library and Exports
- Subject: Static Library and Exports
- From: Rob Minnis <email@hidden>
- Date: Mon, 19 Jan 2004 18:28:59 -0600
I'm trying to create a simple static library with a few exported link
points but I'm not having much luck.
I've setup my native project as follows:
1 - exports file specified for the target
2 - deployment build style
3 - deployment SDK set to 10.1
The source files all compile and link without problem and the target
applications link properly if the exports file is not used.
When I use the exports file, the target applications complain that
several internal functions and global variables (those that should not
be exported) are not defined and refuses to link.
I tried using __private_extern__ to mark one of the offending functions
(C++) but that didn't seem to make any difference (the link error was
identical). [assuming that __private_extern__ is the correct way to
go, what is the correct syntax for using it and how should this be used
with internal C++ classes?]
So, how does one create a static library that only exports a few
functions?
TIA,
Rob Minnis
email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.