Remove the 'shared' from your Configure line.

On 7/27/06, Du Jingwu <[EMAIL PROTECTED]> wrote:
Hi all, I'd like to use openssl in embedded system. I learn from the following
url that openssl can be trimmed down to 200K.

http://groups.google.com/group/mailing.openssl.users/browse_frm/thread/9a5232984fe12dc4/6b593af39bd56d76?q=embedded&rnum=8#6b593af39bd56d76

So I start my own config:

./Configure linux-mipsel --prefix=/ --openssldir=/usr/lib/ssl -ldl \
  shared no-asm no-dso no-zlib no-krb5 no-engine no-hw \
  no-bf no-cast no-dh no-md2 no-mdc2 no-rc2 no-rc4 no-rc5 \
  no-idea no-rijndael no-aes\
  no-ede no-ede3 no-cbc no-cfb no-ofb no-ecb no-base64 no-md4 no-rmd160 \
  no-cast5 no-dsa no-ssl no-ssl2

I built it with uClibc 0.9.2 with gcc 3.3.2, but the size was still huge:

|----------------+--------------------+---------+-------------------|
| openssl-0.9.7e | libcrypto.so.0.9.7 | 1202920 | uclibc, stripped  |
|----------------+--------------------+---------+-------------------|
|                | libssl.so.0.9.7    |  250244 | uclibc, stripped  |
|----------------+--------------------+---------+-------------------|

How can I have a much smaller one? I think the libcrypto.so.0.9.7 has much
potential code to cut, but I don't know how to start. Any hints or guides are
much appreciated.

Best Regards,
Levin Du
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to