Judging from various messages on the OpenSSL mailing lists, HP-UX 10
authorBodo Möller <bodo@openssl.org>
Wed, 14 Jul 1999 18:09:59 +0000 (18:09 +0000)
committerBodo Möller <bodo@openssl.org>
Wed, 14 Jul 1999 18:09:59 +0000 (18:09 +0000)
with cc (but not gcc) seems to work well with BN_LLONG; but -O4 is too
much.

Configure
TABLE

index 782cbcc..d88ae23 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -155,8 +155,8 @@ my %table=(
 
 # HPUX 10.X config.  Supports threads.
 "hpux10-cc",   "cc:-DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O4 -z::-D_REENTRANT::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
-# If hpux10-cc fails, try this one:
-"hpux10-brokencc",     "cc:-DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O4 -z::-D_REENTRANT::DES_PTR DES_UNROLL DES_RISC1:::",
+# If hpux10-cc fails, try this one (if still fails, try deleting BN_LLONG):
+"hpux10-brokencc",     "cc:-DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O2 -z::-D_REENTRANT::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
 
 "hpux10-gcc",  "gcc:-DB_ENDIAN -DBN_DIV2W -O3::-D_REENTRANT::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
 # If hpux10-gcc fails, try this one:
diff --git a/TABLE b/TABLE
index a04e36a..e0933ea 100644 (file)
--- a/TABLE
+++ b/TABLE
@@ -886,11 +886,11 @@ $rc5_obj      =
 
 *** hpux10-brokencc
 $cc           = cc
-$cflags       = -DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O4 -z
+$cflags       = -DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O2 -z
 $unistd       = 
 $thread_cflag = -D_REENTRANT
 $lflags       = 
-$bn_ops       = DES_PTR DES_UNROLL DES_RISC1
+$bn_ops       = BN_LLONG DES_PTR DES_UNROLL DES_RISC1
 $bn_obj       = 
 $des_obj      = 
 $bf_obj       =