On Tuesday, December 29, 2015 at 9:19:32 AM UTC-5, [email protected] wrote:
>
> Crypto++ for me is only doing a few things, no parameterized algorithms. I 
> use some sources, some sinks, and the CFB AES-256 encryption (no 
> decryption). Is there a way I can start from clean and compile-in only the 
> subset of classes I need? The library weighs in at 172 megs at last check 
> for ios. I realize I can strip it down, but according to the docs that only 
> happens for the final exe.  The time to link is measured in minutes, 
> similarly, pushing to the phone is also very slow. It'd be nice to just 
> start smaller.
>
> Is that possible?
>

Yes, its possible. From the comments at the head of the makefile:

# Add the following options reduce code size, but breaks link
#   or makes link very slow on some systems
# CXXFLAGS += -ffunction-sections -fdata-sections
#   On OS X, you need to use "LDFLAGS += -Wl,-dead_strip"
# LDFLAGS += -Wl,--gc-sections

Jeff

-- 
-- 
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