home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pyth_os2.zip / python-1.0.2 / Misc / AIX-NOTES < prev    next >
INI File  |  1994-01-18  |  1KB  |  62 lines

  1. [Excerpt from an email describing how to build Python on AIX.]
  2.  
  3.  
  4. Subject: Re: Python 1.0.0 BETA 5 -- also for Macintosh!
  5. From: se@MI.Uni-Koeln.DE (Stefan Esser)
  6. To: Guido.van.Rossum@cwi.nl
  7. Date: Fri, 7 Jan 1994 17:40:43 +0100
  8.  
  9. [...]
  10.  
  11. The following are [...] Instructions
  12. to get a clean compile using gcc and xlc
  13. under AIX 3.2.4.
  14.  
  15. Since I wanted to make sure that Python compiles
  16. using both compilers and several sets of options
  17. (ANSI and traditional C, optimize on/off) I didn't
  18. try to include bash readline or other optional 
  19. modules.
  20.  
  21. 'make test' succeeded using Python compiled with 
  22. the AIX C-compiler invoked as 'cc' and with options 
  23. '-o -qMEMMAX=4000' and compiled with 'gcc' and 
  24. options '-O -Wall'.
  25.  
  26. There were some problems trying to compile python
  27. using 'gcc -ansi' (because of _AIX no longer being
  28. defined), but I didn't have time to look into this.
  29.  
  30.  
  31.  
  32. Regards,
  33.  
  34. Stefan Esser
  35.  
  36.  
  37.  
  38.  
  39. REQUIRED:
  40. ---------
  41.  
  42. 1) 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.  
  54. OPTIONAL:
  55. ---------
  56.  
  57. 2) The xlc compiler considers "Python/ceval.c"
  58.    too complex to optimize, except when invoked
  59.    with "-qMEMMAX=4000". 
  60.  
  61. [...]
  62.