Embedded Cross-Compiling of OpenSSL & OpenSSH

Gordon Fischer gfischer at adventnetworks.com
Thu Nov 15 09:36:15 EST 2001


I'm developing a minimal embedded linux system that will be running on a
powerpc chip.  I can get everything to work but the size is quite large.

The majority of my size requirements are in libcrypto.a which is around
1.52 Megs

I tried to pare it down further by removing some crypto options
[ Configure linux-ppc no-asm no-cast no-des no-dh no-md2 no-mdc2 no-rc2
no-rc4 no-rc5 shared ]
This got me to 1.35 Megs.

I've read on other lists that stripping the library is bad news, but a
modest debug strip doesn't seem to affect functionality and takes me
down to 800 K.

Any ideas on how I can get libcrypto smaller?

Thanks,

Gordon Fischer
Advent Networks
gfischer at adventnetworks.com



More information about the openssh-unix-dev mailing list