From 3bead95bae0512a5f19abb07af745fc7cec09833 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 24 Mar 2000 16:06:22 +0000 Subject: [PATCH] A couple of corrections concerning HPUX 10 and shared libraries. Contributed by Lutz Jaenicke. --- Configure | 2 ++ shlib/hpux10-cc.sh | 11 +++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Configure b/Configure index 8e27411959..6c1c6747d5 100755 --- a/Configure +++ b/Configure @@ -203,6 +203,8 @@ my %table=( # # "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:::", diff --git a/shlib/hpux10-cc.sh b/shlib/hpux10-cc.sh index 3e5d823c01..903baaa4e7 100644 --- a/shlib/hpux10-cc.sh +++ b/shlib/hpux10-cc.sh @@ -1,4 +1,7 @@ #!/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: @@ -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" -- 2.34.1