Hi, thanks for your answer. Thats almost what I actually did. Here is my ./Configure call:
./Configure linux-ppc shared zlib-dynamic compiler:${CROSS_COMPILE}gcc --openssldir=$openssl_distdir --prefix=$openssl_bindir I've tried what you proposed here and it works :-) I made the mistake to give the compiler to the Configure script instead just at make time... I did not use the "no-asm" option. Is this needed for PPC or is there mpc8xx asm available? regards Marc -----Urspr?ngliche Nachricht----- Von: Guilherme Mazzela [mailto:guilherme.mazzela at asga.com.br] Gesendet: Freitag, 3. Februar 2006 12:19 An: Bodmer Marc, Securiton, ESS Betreff: RE: How to cross-build OpenSSL shared library try this ./Configure ./Configure linux-ppc --prefix=/usr --openssldir=/etc shared no-asm make clean make CC=ppc-linux-gcc after that you have to strip the libcrypto.so.X.X.X -----Original Message----- From: Marc.Bodmer at securiton.ch [ mailto:[EMAIL PROTECTED] Sent: Fri 2/3/2006 7:45 AM To: linuxppc-embedded at ozlabs.org Cc: Subject: How to cross-build OpenSSL shared library Hello I have a problem with cross compiling the OpenSSL library for PPC (mpc885) as a shared library (Host x86, Linux). I give the option "shared" to the "Configure" script delivered with OpenSSL. But it always only builds me static libraries. After Configuration it shows me the text: >You gave the option 'shared'. Normally, that would give you shared libraries. >Unfortunately, the OpenSSL configuration doesn't include shared library support >for this platform yet, so it will pretend you gave the option 'no-shared' I am using ELDK (3.1.1) and there is a built OpenSSL as shared library available. Does anybody know about how they managed to build this shared library? Thanks for any help Marc <html> <body> <font face = "arial" size = "1"> --------------------------------------------------------------------------------------------------------- This e-mail is confidential and may contain privileged information. It is intended only for the addressees. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message from your system. --------------------------------------------------------------------------------------------------------- </font> </body> </html> <html> <body> <font face = "arial" size = "1"> --------------------------------------------------------------------------------------------------------- This e-mail is confidential and may contain privileged information. It is intended only for the addressees. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message from your system. --------------------------------------------------------------------------------------------------------- </font> </body> </html> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060203/03c16b95/attachment.htm