"Boris" <[EMAIL PROTECTED]> writes:

> Is it possible to link to a static library from a DSO without exporting the 
> symbols in the DSO again?

Sure, but the answer is OS-specific, and you provided no clues.

> When I link the Expat XML parser though the DSO 
> exports all symbols of the Expat XML parser. Is there any option to tell g++ 
> or the linker not to do this?

Assuming Linux, the answer is to use linker version script and
explicitly make only your "public" interface visible, hiding
everything else.

Try "info ld" -> Scripts -> VERSION

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to