Embedded Cross-Compiling of OpenSSL & OpenSSH

Damien Miller djm at mindrot.org
Thu Nov 15 09:45:22 EST 2001


On Wed, 14 Nov 2001, Gordon Fischer wrote:

> 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

These questions would probably be better asked on one of the OpenSSL 
lists.

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

You may want to keep rc4 for OpenSSH - it is used in several places and the
algorithm itself is tiny.

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

I can't see why stripping should cause any problems.

-d

-- 
| By convention there is color,       \\ Damien Miller <djm at mindrot.org>
| By convention sweetness, By convention bitterness, \\ www.mindrot.org
| But in reality there are atoms and space - Democritus (c. 400 BCE)





More information about the openssh-unix-dev mailing list