A couple of corrections concerning HPUX 10 and shared libraries.

Contributed by Lutz Jaenicke.
This commit is contained in:
Richard Levitte 2000-03-24 16:06:22 +00:00
parent 6e1c21abe4
commit 3bead95bae
2 changed files with 9 additions and 4 deletions

View file

@ -203,6 +203,8 @@ my %table=(
# <appro@fy.chalmers.se>
#
"hpux-parisc-cc","cc:-Ae +O3 +ESlit -z -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
# Since there is mention of this in shlib/hpux10-cc.sh
"hpux-parisc-cc-o4","cc:-Ae +O4 +ESlit -z -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
"hpux-parisc-gcc","gcc:-O3 -DB_ENDIAN -DBN_DIV2W::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
"hpux64-parisc-cc","cc:-Ae +DD64 +O3 +ESlit -z -DB_ENDIAN -DMD32_XARRAY::-D_REENTRANT::SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:::",

View file

@ -1,5 +1,8 @@
#!/usr/bin/sh
#
# Run this script from the OpenSSL root directory:
# sh shlib/hpux10-cc.sh
#
# HP-UX (10.20) shared library installation:
# Compile and install OpenSSL with best possible optimization:
# - shared libraries are compiled and installed with +O4 optimization
@ -16,10 +19,10 @@
#
# WARNING: At high optimization levels, HP's ANSI-C compiler can chew up
# large amounts of memory and CPU time. Make sure to have at least
# 128MB of RAM available and that you kernel is configure to allow
# 128MB data size (maxdsiz parameter).
# 128MB of RAM available and that your kernel is configured to allow
# at least 128MB data size (maxdsiz parameter).
# The installation process can take several hours, even on fast
# machines. +O4 Optimization of the libcrypto.sl shared library may
# machines. +O4 optimization of the libcrypto.sl shared library may
# take 1 hour on a C200 (200MHz PA8200 CPU), +O3 compilation of
# fcrypt_b.c can take 20 minutes on this machine. Stay patient.
#
@ -31,7 +34,7 @@ SITEFLAGS="+DAportable +w1"
#
# Set the default additions to build with HP-UX.
# -D_REENTRANT must/should be defined on HP-UX manually, since we do call
# Confiugure directly.
# Configure directly.
# +Oall increases the optimization done.
#
MYFLAGS="-D_REENTRANT +Oall $SITEFLAGS"