Hi,

Might I suggest you add the following line to Configure:

"linux-dynamic",        "gcc:-fPIC -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 
-Wall -Wuninitialized::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",

and the attached file to the distribution.  Then it should be fairly easy to 
generate .so files for linux.

Note:  I did the mkshared stuff by hand, so I haven't strictly tested it.

Colin.

#!/bin/sh
# convert .a files made with Configure linux-dynamic to .so files

mkdir tmp
cd tmp

ar x ../libcrypto.a
gcc -fPIC --shared -o libcrypto.so *.o
rm *.o
rm ../libcrypto.a
mv libcrypto.so ..

ar x ../libssl.a
gcc -fPIC --shared -o libssl.so *.o
rm *.o
rm ../libssl.a
mv libssl.so ..

cd ..
rm -rf tmp

Reply via email to