summaryrefslogtreecommitdiffstats
path: root/Misc/AIX-NOTES
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-01-26 10:20:16 (GMT)
committerGuido van Rossum <guido@python.org>1994-01-26 10:20:16 (GMT)
commita7925f18ded087c10d2a0f971e320e5f89380288 (patch)
tree5c965cb425f23e5286d1bc94ff01b66039b531c9 /Misc/AIX-NOTES
parent8f0d0c8a210fe80832cbae0cc4a381439647bf9e (diff)
downloadcpython-a7925f18ded087c10d2a0f971e320e5f89380288.zip
cpython-a7925f18ded087c10d2a0f971e320e5f89380288.tar.gz
cpython-a7925f18ded087c10d2a0f971e320e5f89380288.tar.bz2
Initial revision
Diffstat (limited to 'Misc/AIX-NOTES')
-rw-r--r--Misc/AIX-NOTES61
1 files changed, 61 insertions, 0 deletions
diff --git a/Misc/AIX-NOTES b/Misc/AIX-NOTES
new file mode 100644
index 0000000..97c0944
--- /dev/null
+++ b/Misc/AIX-NOTES
@@ -0,0 +1,61 @@
+[Excerpt from an email describing how to build Python on AIX.]
+
+
+Subject: Re: Python 1.0.0 BETA 5 -- also for Macintosh!
+From: se@MI.Uni-Koeln.DE (Stefan Esser)
+To: Guido.van.Rossum@cwi.nl
+Date: Fri, 7 Jan 1994 17:40:43 +0100
+
+[...]
+
+The following are [...] Instructions
+to get a clean compile using gcc and xlc
+under AIX 3.2.4.
+
+Since I wanted to make sure that Python compiles
+using both compilers and several sets of options
+(ANSI and traditional C, optimize on/off) I didn't
+try to include bash readline or other optional
+modules.
+
+'make test' succeeded using Python compiled with
+the AIX C-compiler invoked as 'cc' and with options
+'-o -qMEMMAX=4000' and compiled with 'gcc' and
+options '-O -Wall'.
+
+There were some problems trying to compile python
+using 'gcc -ansi' (because of _AIX no longer being
+defined), but I didn't have time to look into this.
+
+
+
+Regards,
+
+Stefan Esser
+
+
+
+
+REQUIRED:
+---------
+
+1) AIX compilers don't like the LANG env
+ varaiable set to european locales.
+ This makes the compiler generate floating
+ point constants using "," as the decimal
+ seperator, which the assembler doesnt't
+ understand (or was it the other way around,
+ with the assembler expecting "," in float
+ numbers ???).
+ Anyway: "LANG=C; export LANG" solves the
+ problem, as does "LANG=C $(MAKE) ..." in
+ the master Makefile.
+
+OPTIONAL:
+---------
+
+2) The xlc compiler considers "Python/ceval.c"
+ too complex to optimize, except when invoked
+ with "-qMEMMAX=4000".
+
+[...]