For those of us who haven't bought xlc, here's a quick patch
for Configure to compile OpenSSL for 64bit using GCC on AIX5 ...
Passed 'make test' results fine ...

(attached patch)

-Brad

--- Configure   2005-08-02 06:59:42.000000000 -0400
+++ ../Configure        2005-12-29 15:58:10.000000000 -0500
@@ -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 -maix64 
-DB_ENDIAN::-D_THREAD_SAFE:AIX::SIXTY_FOUR_BIT_LONG 
RC4_CHAR::aix_ppc64.o::::::::::dlfcn:aix-shared:::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X
 64",
 # 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",

Reply via email to