On Mar 26, 12:54 pm, "Wei Dai" <[EMAIL PROTECTED]> wrote:
> > What flags should I pass to the compiler or the linker in order to
> > make a shared library that is statically linked to Crypto++ and has
> > minimal size?
> Section 2.2 of this document may be of help:
> http://people.redhat.com/drepper/dsohowto.pdf

Thanks for the helpful link. Adding "-fvisibility=hidden -fvisibility-
inlines-hidden" to the compilation options of
both crypto++ and my library (making sure public symbols are exported)
did the trick.

Amnon


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to