From a2534c86184b9169ec4306af6f7abe8452f2cccb Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 20 Sep 2005 19:06:23 +0000 Subject: [PATCH] Update 64-bit AIX and HP-UX build instructions (forward port). --- README | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README b/README index df92b9fcf93..19cd5a47045 100644 --- a/README +++ b/README @@ -357,6 +357,14 @@ AIX: A complete overhaul of the shared library support is now in like "cc_r". For full C++ module support, set CC="xlC_r" (or CC="xlC" without thread support). +AIX 5.3: To build a 64-bit version with IBM's compiler, I used the + following: + + export PATH=/usr/bin:/usr/vacpp/bin + ./configure --with-gcc="xlc_r -q64" --with-cxx="xlC_r -q64" \ + --disable-ipv6 AR="ar -X64" + make + HP-UX: When using threading, you may have to add -D_REENTRANT to the OPT variable in the top-level Makefile; reported by Pat Knight, this seems to make a difference (at least for HP-UX 10.20) @@ -368,9 +376,7 @@ HP-UX ia64: When building on the ia64 (Itanium) platform using HP's compiler, some experience has shown that the compiler's optimiser produces a completely broken version of python (see http://www.python.org/sf/814976). To work around this, - edit the Makefile and remove -O from the OPT line. (This is - old information; with the latest compiler this problem does - not occur.) + edit the Makefile and remove -O from the OPT line. To build a 64-bit executable on an Itanium 2 system using HP's compiler, use these environment variables: @@ -386,7 +392,8 @@ HP-UX ia64: When building on the ia64 (Itanium) platform using HP's then *unset* the environment variables again before running make. (At least one of these flags causes the build to fail - if it remains set.) + if it remains set.) You still have to edit the Makefile and + remove -O from the OPT line. HP PA-RISC 2.0: A recent bug report (http://www.python.org/sf/546117) suggests that the C compiler in this 64-bit system has bugs