blob: 97c09449dd40573e3a8009045286e84978b8737d [file] [log] [blame]
Guido van Rossuma7925f11994-01-26 10:20:16 +00001[Excerpt from an email describing how to build Python on AIX.]
2
3
4Subject: Re: Python 1.0.0 BETA 5 -- also for Macintosh!
5From: se@MI.Uni-Koeln.DE (Stefan Esser)
6To: Guido.van.Rossum@cwi.nl
7Date: Fri, 7 Jan 1994 17:40:43 +0100
8
9[...]
10
11The following are [...] Instructions
12to get a clean compile using gcc and xlc
13under AIX 3.2.4.
14
15Since I wanted to make sure that Python compiles
16using both compilers and several sets of options
17(ANSI and traditional C, optimize on/off) I didn't
18try to include bash readline or other optional
19modules.
20
21'make test' succeeded using Python compiled with
22the AIX C-compiler invoked as 'cc' and with options
23'-o -qMEMMAX=4000' and compiled with 'gcc' and
24options '-O -Wall'.
25
26There were some problems trying to compile python
27using 'gcc -ansi' (because of _AIX no longer being
28defined), but I didn't have time to look into this.
29
30
31
32Regards,
33
34Stefan Esser
35
36
37
38
39REQUIRED:
40---------
41
421) AIX compilers don't like the LANG env
43 varaiable set to european locales.
44 This makes the compiler generate floating
45 point constants using "," as the decimal
46 seperator, which the assembler doesnt't
47 understand (or was it the other way around,
48 with the assembler expecting "," in float
49 numbers ???).
50 Anyway: "LANG=C; export LANG" solves the
51 problem, as does "LANG=C $(MAKE) ..." in
52 the master Makefile.
53
54OPTIONAL:
55---------
56
572) The xlc compiler considers "Python/ceval.c"
58 too complex to optimize, except when invoked
59 with "-qMEMMAX=4000".
60
61[...]