> From: [EMAIL PROTECTED]

Are you on openssl-dev list? I wonder because it appears [at least to 
me] to be good idea to have OS/distribution vendors at least minimally 
represented at openssl-dev list...

> tried to build openssl on a big endian arm box and ... well needless to say 
> it 
> didnt work so nicely :)
> 
> find attached a patch (against cvs version, not 0.9.7e) i used to fix the 
> problem in Gentoo

-BL_ENDIAN? Shouldn't it be -DB_ENDIAN? But in either case... Note that 
-D[BL]_ENDIAN are essentially performance options. I mean it works even 
without -D[BL]_ENDIAN, but some algorithms work a bit faster if you 
specify appropriate one. So that alternative solution to the problem 
could be to get rid of -DL_ENDIAN in linux-elf-arm line and have 
./config pick one dinamically, i.e. by passing either option down to 
./Configure as extra argument, e.g.

arm*b*-*-linux2) OUT="linux-elf-arm"; options="$options -DB_ENDIAN"; ;;
arm*-*-linux2)   OUT="linux-elf-arm"; options="$options -DL_ENDIAN"; ;;

Can you verify this? Keep in mind that you have to get rid of -DL_ENDIAN 
in linux-elf-arm line in ./Configure. A.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to