Hi

I got some questions on cross compiling openssl

I am using both openssl-0.9.8o and openssl-1.1.0a

What I want to do is to crosscompile openssl for the targets PPC and ARM

@openssl-0.9.8.o

My crosscompilers are called arm-926ejs-linux-gnueabi for the ARM and 
powerpc-603e-linux-gnu for the PPC

In order to crosscompile i call the following lines for PPC

./Configure linux-ppc --prefix=/home_vie/mhofer/tmp_opensslscratch 
--openssldir=/home_vie/mhofer/tmp_opensslscratch/openssl no-threads no-zlib 
shared no-bf no-cast no-md2 no-md4 no-mdc2 no-rc2 no-rc4 no-rc5; make depend

Then afterwards I have to call make like

make CC="${TARGET}-gcc" AR="${TARGET}-ar r"

where target stands for powerpc-603e-linux-gnu in this case

Question 1: Is there a nicer way to crosscompile openssl 0.9.8o, like a 
crosscompile flag in openssl-1.1.0a?

Question 2: Which target do I specify for a ARM target?I have read 
linux-generic32; is this suitable for alle ARM versions? I added the 
linux-armv4 of openssl.1.1.0a line in the Configure line to crosscompile so 
far. 

Question 3: How do I make shared libaries for the ARM? Is that supported in 
0.9.8.o

Greetings
Markus
-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to