A couple of corrections concerning HPUX 10 and shared libraries.
authorRichard Levitte <levitte@openssl.org>
Fri, 24 Mar 2000 16:06:22 +0000 (16:06 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 24 Mar 2000 16:06:22 +0000 (16:06 +0000)
Contributed by Lutz Jaenicke.

Configure
shlib/hpux10-cc.sh

index 8e2741195972c7618ca8e880228a88ee51e6f3f0..6c1c6747d50514b6868cacee7e2a140479fa86c3 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -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:::",
 #                                      <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:::",
 
 "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:::",
 
index 3e5d823c01fccbf363c6976d07832df9b1edefbb..903baaa4e7ea99a625feaf9bdb75d065b76e4bc7 100644 (file)
@@ -1,4 +1,7 @@
 #!/usr/bin/sh
 #!/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:
 # 
 # HP-UX (10.20) shared library installation:
 # Compile and install OpenSSL with best possible optimization:
 #
 # 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
 #
 # 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
 #          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.
 #
 #          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
 #
 # 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"
 # +Oall increases the optimization done.
 #
 MYFLAGS="-D_REENTRANT +Oall $SITEFLAGS"