On Friday, March 6, 2015 at 1:58:54 AM UTC-5, hardik gohil wrote:
>
> Hello,
>
>
> Thank you I have used this link  
> http://www.cryptopp.com/wiki/Linux#Reducing_Application_Size. to reduce 
> size.
>
> Now my Library size is 3.1 MB..
>

Here's one I forgot to add that may prune anoth 100K or so:

GNU_LD216_OR_LATER = $(shell $(LD) -v 2>&1 | $(EGREP) -i -c '^gnu ld .* 
(2\.1[6-9]|2\.[2-9])')
ifeq ($(GNU_LD216_OR_LATER),1)
  CXXFLAGS += -Wl,exclude-libs,all
endif

Its a linker flag, but LDFLAGS is not used consistently. So its passed 
through the CXXFLAGS compiler flags. 

-- 
-- 
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.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to