On 2007.04.10 at 19:16:03 +0200, Christophe Devine wrote:

> I cross-compiled OpenSSL on ARM and MIPS a couple months ago, to perform
> some RSA benchmarking. I remember hacking the linux-generic target to
> use arm-linux-gcc instead of gcc also added -static to the CFLAGS. There
> is probably a more elegant way to do it, but at least it got the job done.

More elegant way is already implemented in the current 0.9.9 snapshots.
There is additional option for Configure script --cross-compile-prefix.

In your cace

../Configure linux-generic --cross-compile-prefix=arm-linux-

should do, except for statically linking libc.
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org