On Mon, Mar 13, 2017 at 5:53 PM, <
pdoh...@cipherloc.net> wrote:
> Here is the build log from our library:
http://pastebin.com/srRGzy2D
>
> We have not modified the cryptopp script in anyway so the output would look
> the same as if you called it with static lean.
>
> The interesting thing here is that it says -dynamic not specified and
> -dead_strip is ignored.
All the source files being compiled lack -ffunction-sections and
-fdata-sections.
You can only dead-strip a final executable (dylib or exe). You cannot
strip a static archive. A static archive is just a collection of
object files (*.o). The archive needs to be linked with an executable
(dylib or exe), then the final executable can be stripped.
Jeff