Hi,

[ Sorry this is slightly outdated (I'm just back from three weeks of
holiday
  and really wanted to send it before leaving ...) ]

Is there a reason why openssl-0.9.8 doesn't support building a 64-bit
version with gcc on AIX machines (nor does openssl-0.9.8a, AFAICS)?

The following patch adds an entry for this configuration in configure,
the resulting binaries successfully pass "make test" and seem to
work at least in my application:
diff -r -u openssl-0.9.8/Configure openssl-0.9.8.patched/Configure
--- openssl-0.9.8/Configure     2005-07-05 01:24:11.000000000 +0200
+++ openssl-0.9.8.patched/Configure     2005-09-08 18:04:54.000000000
+0200
@@ -404,6 +404,7 @@
 #### IBM's AIX.
 "aix3-cc",  "cc:-O -DB_ENDIAN -qmaxmem=16384::(unknown):AIX::BN_LLONG
RC4_CHAR:::",
 "aix-gcc",  "gcc:-O -DB_ENDIAN::-D_THREAD_SAFE:AIX::BN_LLONG
RC4_CHAR::aix_ppc32.o::::::::::dlfcn:",
+"aix64-gcc", "gcc:-O
-DB_ENDIAN::-D_THREAD_SAFE:AIX::SIXTY_FOUR_BIT_LONG
RC4_CHAR::aix_ppc64.o::::::::::dlfcn::::::-X64",
 # Below targets assume AIX 5. Idea is to effectively disregard
$OBJECT_MODE
 # at build time. $OBJECT_MODE is respected at ./config stage!
 "aix-cc",   "cc:-q32 -O -DB_ENDIAN
-qmaxmem=16384::-qthreaded:AIX::BN_LLONG
RC4_CHAR::aix_ppc32.o::::::::::dlfcn:aix-shared::-q32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X
32",

        HTH,
                 Stefan
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to