"Peter Huang" <[EMAIL PROTECTED]> wrote:
>     the default autoconf for openssl on HPUX11 give a compiler flag of =
> +DA2.0.  this flag will compile the openssl
> library in 64-bit mode which can't be used by apache (32bit).  The =
> correct compiler flag should be +DAportable
> so CC will generate correct code that can run on either platform.

+DA2.0 only tells the compiler to generate code for a PA-RISC 2.0 cpu.
The code is still 32-bit and should run on any newer PA-RISC cpu with
HPUX11.  It won't run on PA1.0 or PA1.1 cpus (9000/755 or lower, I think).

The "hpux11-64bit-cc" uses +DA2.0W, which apparently gets you 64-bit code
for 2.0 cpus only.  But I don't find that in the cc man page, and I don't
have access to a 64-bit system to try it on.

BTW, both these hpux11 configurations apparently came from www.globus.org
but there's no one active in openssl-dev supporting or testing them.  HPUX
isn't very widely used, and 64-bit installations of HPUX 11 are even rarer.

Who knows how to tell which version of the architecture the cpu is, so it
can be built into config?  32/64-bit detection would be nice, too.

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

Reply via email to