<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<TITLE>RE: How to cross-build OpenSSL shared library</TITLE>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=040403511-03022006>Hi,
thanks for your answer.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=040403511-03022006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=040403511-03022006>Thats
almost what I actually did. Here is my ./Configure call:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=040403511-03022006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=040403511-03022006>./Configure linux-ppc shared zlib-dynamic
compiler:${CROSS_COMPILE}gcc --openssldir=$openssl_distdir
--prefix=$openssl_bindir</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=040403511-03022006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=040403511-03022006>I've
tried what you proposed here and it works :-)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=040403511-03022006>I made
the mistake to give the compiler to the Configure script instead just at make
time...</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=040403511-03022006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=040403511-03022006>I did
not use the "no-asm" option. Is this needed for PPC or is there mpc8xx asm
available?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=040403511-03022006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=040403511-03022006>regards</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=040403511-03022006>Marc</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=040403511-03022006></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B> Guilherme Mazzela
[mailto:guilherme.mazzela@asga.com.br]<BR><B>Gesendet:</B> Freitag, 3. Februar
2006 12:19<BR><B>An:</B> Bodmer Marc, Securiton, ESS<BR><B>Betreff:</B> RE:
How to cross-build OpenSSL shared library<BR><BR></FONT></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>try this<BR><BR>./Configure<BR>./Configure linux-ppc
--prefix=/usr --openssldir=/etc shared no-asm<BR>make clean<BR>make
CC=ppc-linux-gcc<BR><BR>after that you have to strip the
libcrypto.so.X.X.X<BR><BR><BR>-----Original Message-----<BR>From:
Marc.Bodmer@securiton.ch [<A
href="mailto:Marc.Bodmer@securiton.ch">mailto:Marc.Bodmer@securiton.ch</A>]<BR>Sent:
Fri 2/3/2006 7:45 AM<BR>To:
linuxppc-embedded@ozlabs.org<BR>Cc: <BR>Subject:
How to cross-build OpenSSL shared library<BR><BR>Hello<BR><BR><BR>I have a
problem with cross compiling the OpenSSL library for PPC (mpc885) as
a<BR>shared library (Host x86, Linux).<BR><BR><BR>I give the option "shared"
to the "Configure" script delivered with OpenSSL. But it<BR>always only builds
me static libraries. After Configuration it shows me the
text:<BR><BR><BR>>You gave the option 'shared'. Normally, that would give
you shared libraries.<BR>>Unfortunately, the OpenSSL configuration doesn't
include shared library support<BR>>for this platform yet, so it will
pretend you gave the option 'no-shared'<BR><BR><BR>I am using ELDK (3.1.1) and
there is a built OpenSSL as shared library<BR>available.<BR>Does anybody know
about how they managed to build this shared library?<BR><BR><BR>Thanks for any
help<BR>Marc<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><html><BR><body><BR><font
face = "arial" size =
"1"><BR>---------------------------------------------------------------------------------------------------------<BR>This
e-mail is confidential and may contain privileged information.<BR>It is
intended only for the addressees. If you have received this<BR>e-mail in
error, kindly notify us immediately by telephone or e-mail<BR>and delete the
message from your
system.<BR>---------------------------------------------------------------------------------------------------------<BR></font><BR></body><BR></html><BR><BR></FONT></P></BLOCKQUOTE></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000><html><br>
<body><br>
<font face = "arial" size = "1"><br>
---------------------------------------------------------------------------------------------------------<br>
This e-mail is confidential and may contain privileged information.<br>
It is intended only for the addressees. If you have received this<br>
e-mail in error, kindly notify us immediately by telephone or e-mail<br>
and delete the message from your system.<br>
---------------------------------------------------------------------------------------------------------<br>
</font><br>
</body><br>
</html><br>
</font></td></tr></table>