annotate Mac/Relnotes-1.2 @ 4566:6403c94de50d legacy-trunk

Added safeguard against failure in __del__.
author Guido van Rossum <guido@python.org>
date Wed, 27 Nov 1996 19:39:58 +0000
parents f8ab925efda8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2322
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
1 BUILDING PYTHON 1.2 FOR THE MACINTOSH
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 *************************************
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
3
2384
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
4 Python can be built on the Mac using either THINK C 6.0 (or 7.0), or
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
5 CodeWarrior 5.0 (for 68K and PPC). In the past it has also been compiled
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
6 with earlier versions of Think, but no guarantees are made that the
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
7 source is still compatible with those versions. (Think C 5.0 appears
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
8 to be OK.) Likewise, new compiler versions may effectively change the
2322
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
9 language accepted (or the library provided!) and thus cause problems.
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
10
2384
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
11 MPW is a special case -- it used to be possible to build Python as
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
12 an MPW tool using MPW 3.2, and this may still work, but I haven't
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
13 tried this lately. What I have tried, however, is building Python
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
14 as a shared library for CFM-68K, using the Symantec C compiler for MPW.
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
15 See subdirectory MPW and the README file there for more info.
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
16
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
17
2322
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
18 1. Using Think C 6.0 (or 7.0)
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
19 =============================
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
20
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
21 1.1 The directory structure
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
22 ---------------------------
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
23
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 I duplicate the UNIX directory structure from the distribution. The
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
25 subdirectories needed to compile are: Mac, Include, Parser, Python,
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
26 Objects, Modules. (Don't bother with Grammar and the parser
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
27 generator, nor with the Doc subdirectory.)
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
28
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
29 For running and testing, you also need Lib and its subdirectories test
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 and stdwin. You could also copy some things from the Demo/stdwin
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 directory (unfortunately most other demos are UNIX specific and even
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
32 many stdwin demos are).
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
33
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
34 Make sure there is no config.c file in the Modules subdirectory (if
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
35 you copy from a directory where you have done a UNIX build this might
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
36 occur). Also don't use the config.h generated on UNIX.
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
37
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
38 1.2 The project file
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
39 --------------------
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
40
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
41 I put all source files in one project, which I place in the parent
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
42 directory of the source directories.
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
43
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 1.2.1 Project type
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
45
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 (This is the Set Project Type... dialog in the Project menu.)
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
47
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
48 Set the creator to PYTH; turn on "far data"; leave "far code" and
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
49 "separate strs" unchecked (they just serve to bloat the application).
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
50 A partition size of 1000K should be enough to run the standard test
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 suite (which requires a lot of memory because it stress tests the
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
52 parser quite a bit) and most demos or medium-size applications. The
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
53 interpreter will do basic things in as little at 500K but this may
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
54 prevent parsing larger modules.
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
55
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
56 1.2.2 Compiler options
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
57
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
58 (This is the Options -> THINK C ... dialog in the Edit menu.)
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
59
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
60 - Start with Factory Settings.
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
61
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
62 - In the Prefix, remove #include <MacHeaders> and add
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
63 #define HAVE_CONFIG_H
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
64
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
65 - Choose any optimizer and debugger settings you like. - You
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
66 can choose 4-byte ints if you want. This requires that you
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
67 rebuild the ANSI and unix libraries with 4-bytes ints as well
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
68 (better make copies with names like ANSI 32 bit). With 4-byte
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
69 ints the interpreter is marginally bigger and somewhat (~10%)
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
70 slower, but Python programs can use strings and lists with
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
71 more than 32000 items (with 2-byte ints these can cause
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
72 crashes). The range of Python integers is not affected (these
2322
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
73 are always represented as longs). In fact, nowadays I always
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
74 use 4-byte integers, since it is actually rather annoying that
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
75 strings >= 64K cause crashes.
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
76
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
77 1.2.3 Files to add
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
78
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
79 (This is the Add Files... dialog in the Source menu.)
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
80
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
81 The following source files must be added to the project. I use a
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
82 separate segment for each begin letter -- this avoids segment
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
83 overflow, except for 'c', where you have to put either ceval.c or
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
84 compile.c in a separate segment. You could also group them by
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
85 subdirectory or function, but you may still have to split segments
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
86 arbitrarily because of the 32000 bytes restriction.
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
87
2322
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
88 - From Mac: all .c files.
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
89
2322
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
90 - From Parser: acceler.c, grammar1.c,
1895
c2350c87be3f Added some files, reformatted some paragraphs.
Guido van Rossum <guido@python.org>
parents: 1824
diff changeset
91 myreadline.c, node.c, parser.c, parsetok.c, tokenizer.c.
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
92
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
93 - From Python: bltinmodule.c, ceval.c, cgensupport.c,
2322
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
94 compile.c, errors.c, getargs.c getopt.c, graminit.c, import.c,
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
95 importdl.c, marshal.c, modsupport.c, mystrtoul.c,
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
96 pythonmain.c, pythonrun.c, sigcheck.c, structmember.c,
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
97 sysmodule.c, traceback.c (i.e. all .c files except dup2.c,
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
98 fmod.c, frozenmain.c, getcwd.c, getmtime.c, memmove.c,
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
99 sigcheck.c, strerror.c, strtod.c, thread.c)
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
100
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
101 - From Objects: all .c files except xxobject.c.
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
102
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
103 - From Modules: all the modules listed in config.c (in the Mac
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
104 subdirectory) in the initializer for inittab[], before
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
105 "ADDMODULE MARKER 2". Also add md5c.c if you add md5module.c,
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
106 and regexpr.c if you add regexmodule.c. (You'll find
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
107 macmodule.c in the Mac subdirectory, so it should already have
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
108 been added in a previous step.) Note that for most modules,
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
109 the source file is called <name>module.c, but for a few long
1821
40594f80ab3c Intermediate version of changes after porting to MPW 3.2
Guido van Rossum <guido@python.org>
parents: 1808
diff changeset
110 module names it is just <module>.c. Don't add stdwinmodule.c
40594f80ab3c Intermediate version of changes after porting to MPW 3.2
Guido van Rossum <guido@python.org>
parents: 1808
diff changeset
111 yet,
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
112
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
113 The following THINK C libraries must be added: from Standard
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
114 Libraries, ANSI and unix; from Mac Libraries, MacTraps. I put each
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
115 library in a separate segment. Also see my earlier remark on 4-byte
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
116 ints.
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
117
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
118 1.4 Adding STDWIN
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
119 -----------------
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
120
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
121 STDWIN is built in two separate projects: stdwin.pi contains the core
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
122 STDWIN implementation from Ports/mac, textedit.pi contains the files
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
123 from Packs/textedit. Use the same compiler options as for Python and
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
124 the same general source setup (in a sister directory of the toplevel
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
125 Python directory). Put all sources in the same segment. To
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
126 stdwin.pi, also add Tools/strdup.c and Gen/wtextbreak.c.
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
127
1821
40594f80ab3c Intermediate version of changes after porting to MPW 3.2
Guido van Rossum <guido@python.org>
parents: 1808
diff changeset
128 The two projects can now be added as libraries to the Python project.
40594f80ab3c Intermediate version of changes after porting to MPW 3.2
Guido van Rossum <guido@python.org>
parents: 1808
diff changeset
129 You must also add stdwinmodule.c and add "#define USE_STDWIN" to the
40594f80ab3c Intermediate version of changes after porting to MPW 3.2
Guido van Rossum <guido@python.org>
parents: 1808
diff changeset
130 Prefix in the compiler options dialog (this only affects macmain.c and
40594f80ab3c Intermediate version of changes after porting to MPW 3.2
Guido van Rossum <guido@python.org>
parents: 1808
diff changeset
131 config.c).
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
132
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
133 Note that stdwinmodule.c contains an #include statement that
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
134 references "stdwin.h" by relative path name -- if the stdwin toplevel
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
135 directory is not a sibling of the python toplevel directory, you may
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
136 have to adjust the number of colons in the pathname.
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
137
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
138 1.5 Resources
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
139 -------------
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
140
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
141 Since I created them with ResEdit I have no text source of the
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
142 resources needed to give the application an icon etc... You can copy
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
143 the size, bundle, file reference and icon resources from the
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
144 distributed Python application with ResEdit. THINK C automatically
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
145 copies resources into the application file from a file
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
146 <projectname>.rsrc.
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
147
2322
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
148 1.6 Think C 5.0
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
149 ---------------
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
150
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
151 Tim Gilbert adds one note that will be helpful to future Think C 5.0
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
152 users: When you have a really big project like python, and you want to
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
153 compile and run it, if you just hit Command-R, often Think C will
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
154 compile the remaining files, think for a moment, and then give you a
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
155 warning "internal error(ZREF)--please remove objects." Don't listen
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
156 to it. It is lying. What you should do instead is "Check Link..."
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
157 and _then_ hit Run. Why? Ask Symantec.
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
158
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
159
2384
f8ab925efda8 different MPW notes
Guido van Rossum <guido@python.org>
parents: 2322
diff changeset
160 2. Using MicroWerks CodeWarrior 5.0
2322
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
161 ===================================
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
162
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
163 Essentially, follow the instructions for Think C.
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
164
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
165 XXX Should at least list the project options.
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
166
d3e2f988f1af adapted to 1.2
Guido van Rossum <guido@python.org>
parents: 1895
diff changeset
167
1806
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
168 --Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
f2ce3191fc9d Description of how to build Python for the Mac.
Guido van Rossum <guido@python.org>
parents:
diff changeset
169 <URL:http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>