blob: 004ea431a8f1c9bba6ab04725d9f9159d70ad806 [file] [log] [blame]
Guido van Rossum8ce65b41994-08-29 08:58:39 +00001From: walker@island.com (Richard Walker)
2Date: Wed, 1 Jun 94 15:28:40 PDT
3
4Compiling Python Under MPW C
5============================
6
7This directory contains the Makefiles, source files and scripts
8required to compile Python under MPW C.
9
10Compiling:
11----------
12the "buildall" file at the top level is an MPW script
13which rebuilds the entire Python source.
14
15To build, start the MPW Shell and select the Worksheet window.
16Go to top level directory of the Python source tree.
17Type: buildall<ENTER>
18
19To rebuild:
20Type: buildall clean<ENTER>
21Type: buildall<ENTER>
22
23Configuration:
24--------------
25The files "Makefile", "config.h", "Modules:config.c" and
26"Modules:Makefile" are normally configured and/or generated
27automagically under Unix.
28
29Macintosh programmers will have to be content with editing
30these files manually to reflect their desired configuration.
31The files provided here are examples only; Modules which
32made it into this version are those which required little or
33no modification.
34
35Running:
36--------
37The top-level Makefile compiles Python as an MPW Tool.
38You can then run Python interactively from within
39the MPW Worksheet.
40
41Diagnostics:
42------------
43If Python fails to run by aborting in file "Parser:grammar1.c",
44at the end of the function "finddfa", line 46,
45try defining the preprocessor symbol "MPW_881_BUG" in
46file "Parser:acceler.c", function "fixstate", line 107.
47
48XXX Note that you have to edit test_grammar.py because of a bug
49in int overflow det that I haven't found yet.