Skip to content

Commit 8e1f8dd

Browse files
committed
Restructured MPW notes
1 parent 8ce65b4 commit 8e1f8dd

2 files changed

Lines changed: 46 additions & 22 deletions

File tree

‎Mac/README‎

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -143,17 +143,29 @@ copies resources into the application file from a file
143143
================
144144

145145
The subdirectory MPW contains a README.MPW file, a buildall script and
146-
several Makefiles (in respective subdirectories), kindly contributed
147-
by Richard Walker of Island Software. Move these files to the
148-
corresponding locations relative to the Python root directory, and run
149-
the buildall script. The README.MPW file contains more instructions
150-
and caveats (I've added some remarks of my own at the end). I haven't
151-
tried building STDWIN with MPW recently (there is MPW specific code
152-
all over the STDWIN source but it is for a much older version of the
153-
compiler and library). The MPW and THINK C ports share all source
154-
files, including config.c and config.h -- all differentiation is done
155-
based on #ifdef THINK_C or #ifdef MPW (#ifdef macintosh is used for
156-
code that should be seen by all Mac compilers).
146+
several Makefiles, kindly contributed by Richard Walker of Island
147+
Software. Move these files to the corresponding locations relative to
148+
the Python root directory (where Mac-Makefile should become Makefile
149+
in the Mac subdirectory, etc.), and run the buildall script. The
150+
README.MPW file contains more instructions and caveats (I've added
151+
some remarks of my own at the end).
152+
153+
Some notes:
154+
155+
- The MPW and THINK C ports share all source files, including config.c
156+
and config.h -- all differentiation is done based on #ifdef THINK_C
157+
or #ifdef MPW (#ifdef macintosh is used for code that should be seen
158+
by all Mac compilers).
159+
160+
- The dynload subdirectory contains an attempt to create dynamically
161+
loadable modules from CODE segments. This was not very successful
162+
due to the restrictions on CODE segments (no global variables, no
163+
calls to external functions). Maybe Apple's new shared library
164+
manager will be a better starting point.
165+
166+
- I haven't tried building STDWIN with MPW recently. There is MPW
167+
specific code all over the STDWIN source but it is for a much older
168+
version of the compiler and library.
157169

158170

159171
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>

‎Mac/Relnotes-1.2‎

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -143,17 +143,29 @@ copies resources into the application file from a file
143143
================
144144

145145
The subdirectory MPW contains a README.MPW file, a buildall script and
146-
several Makefiles (in respective subdirectories), kindly contributed
147-
by Richard Walker of Island Software. Move these files to the
148-
corresponding locations relative to the Python root directory, and run
149-
the buildall script. The README.MPW file contains more instructions
150-
and caveats (I've added some remarks of my own at the end). I haven't
151-
tried building STDWIN with MPW recently (there is MPW specific code
152-
all over the STDWIN source but it is for a much older version of the
153-
compiler and library). The MPW and THINK C ports share all source
154-
files, including config.c and config.h -- all differentiation is done
155-
based on #ifdef THINK_C or #ifdef MPW (#ifdef macintosh is used for
156-
code that should be seen by all Mac compilers).
146+
several Makefiles, kindly contributed by Richard Walker of Island
147+
Software. Move these files to the corresponding locations relative to
148+
the Python root directory (where Mac-Makefile should become Makefile
149+
in the Mac subdirectory, etc.), and run the buildall script. The
150+
README.MPW file contains more instructions and caveats (I've added
151+
some remarks of my own at the end).
152+
153+
Some notes:
154+
155+
- The MPW and THINK C ports share all source files, including config.c
156+
and config.h -- all differentiation is done based on #ifdef THINK_C
157+
or #ifdef MPW (#ifdef macintosh is used for code that should be seen
158+
by all Mac compilers).
159+
160+
- The dynload subdirectory contains an attempt to create dynamically
161+
loadable modules from CODE segments. This was not very successful
162+
due to the restrictions on CODE segments (no global variables, no
163+
calls to external functions). Maybe Apple's new shared library
164+
manager will be a better starting point.
165+
166+
- I haven't tried building STDWIN with MPW recently. There is MPW
167+
specific code all over the STDWIN source but it is for a much older
168+
version of the compiler and library.
157169

158170

159171
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>

0 commit comments

Comments
 (0)