mirror of https://github.com/python/cpython.git
Updated for 1.5a2 distribution
This commit is contained in:
parent
219e2e2bb3
commit
e66b8c8543
|
@ -53,10 +53,9 @@ <H2>What you need.</H2>
|
||||||
Neeracher. The original CWGUSI is
|
Neeracher. The original CWGUSI is
|
||||||
obtainable from <A
|
obtainable from <A
|
||||||
HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/src">
|
HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/src">
|
||||||
ftp://sunsite.cnlab-switch.ch/software/platform/macos/src</A>,
|
ftp://sunsite.cnlab-switch.ch/software/platform/macos/src</A>.
|
||||||
but at the moment Python is built with a rather hacked-up version of GUSI,
|
At the moment Python is built with a rather hacked-up version of GUSI,
|
||||||
available from Jack's Python webpage and ftp-directory referenced above.
|
these modifications are available in folder <code>Python:Mac:GUSI-mods</code>.
|
||||||
It is also possible to build a non-GUSI Python, see below.
|
|
||||||
|
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
|
@ -131,23 +130,12 @@ <H2>Setting Up</H2>
|
||||||
|
|
||||||
First build GUSI. If you didn't get the python-specific GUSI you have to
|
First build GUSI. If you didn't get the python-specific GUSI you have to
|
||||||
move the files from the "CWGUSI-mods" to the right
|
move the files from the "CWGUSI-mods" to the right
|
||||||
place in the CWGUSI distribution folder, and build the
|
place in the CWGUSI distribution folder. Build the
|
||||||
projects <code>GUSI.68K.µ</code>, <code>GUSI.CFM68K.µ</code> and
|
projects <code>MSLGUSI.68K.µ</code>, <code>MSLGUSI.CFM68K.µ</code> and
|
||||||
<code>GUSI.PPC.µ</code>.
|
<code>MSLGUSI.PPC.µ</code>. <p>
|
||||||
Two notes:
|
|
||||||
<ul>
|
|
||||||
<li> The projects as distributed have a slightly incorrect access path, due
|
|
||||||
to which they cannot find their <code>GUSICWFile.???</code> files. Change
|
|
||||||
the access path to <code>{project folder}::</code> to fix this.
|
|
||||||
<li> The Gusi CFM68K project is
|
|
||||||
distributed without "far data": you should set this option before building.
|
|
||||||
</ul>
|
|
||||||
If you have a CWGUSI version more recent than
|
|
||||||
1.8 it could be that the fixes are already included, check it. Alternatively,
|
|
||||||
you can forget about the fixes and remove the one reference to GUSILoadPreferences
|
|
||||||
in the Python sources. This will disable the "default file creator/type" and
|
|
||||||
"Delay Sioux window" preferences in Python.
|
|
||||||
|
|
||||||
|
If you have a CWGUSI version more recent than
|
||||||
|
1.8 it could be that the fixes are already included, check it.
|
||||||
Next, in
|
Next, in
|
||||||
<code>MoreFiles</code>, <code>libjpeg</code>, <code>pbmplus</code>,
|
<code>MoreFiles</code>, <code>libjpeg</code>, <code>pbmplus</code>,
|
||||||
<code>zlib</code>, <code>libpng</code>, <code>gdbm</code>,
|
<code>zlib</code>, <code>libpng</code>, <code>gdbm</code>,
|
||||||
|
@ -158,12 +146,15 @@ <H2>Setting Up</H2>
|
||||||
|
|
||||||
<H2><A NAME="tcltk">Building Tcl/Tk</H2>
|
<H2><A NAME="tcltk">Building Tcl/Tk</H2>
|
||||||
|
|
||||||
You need to make a minor organizational change to the Tcl/Tk
|
You need to make some minor changes to the Tcl/Tk
|
||||||
distribution. The current instructions are for the
|
distribution. The current instructions are for the
|
||||||
<code>tcl7.6</code> and <code>tk4.2</code> distribution:
|
<code>tcl7.6</code> and <code>tk4.2</code> distribution:
|
||||||
|
|
||||||
<UL>
|
<UL>
|
||||||
|
|
||||||
|
<LI> You have to change the access path setting and such to use the MSL
|
||||||
|
libraries (this tcl/tk ditribution predates MSL).
|
||||||
|
|
||||||
<LI> Rename the <code>compat</code> folders to <code>(compat)</code>
|
<LI> Rename the <code>compat</code> folders to <code>(compat)</code>
|
||||||
in both the Tcl and Tk folders.
|
in both the Tcl and Tk folders.
|
||||||
|
|
||||||
|
@ -197,8 +188,6 @@ <H2><A NAME="tcltk">Building Tcl/Tk</H2>
|
||||||
the <code>_tkinter</code> module to work without an installed Tk/Tcl on your
|
the <code>_tkinter</code> module to work without an installed Tk/Tcl on your
|
||||||
machine.
|
machine.
|
||||||
|
|
||||||
<LI> You have to adapt the projects to use the MSL libraries. This is important.
|
|
||||||
|
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
Build first the Tcl library, then
|
Build first the Tcl library, then
|
||||||
|
@ -430,7 +419,11 @@ <H2>Building the PPC interpreter</H2>
|
||||||
a running program). You could copy the 68K interpreter to a different
|
a running program). You could copy the 68K interpreter to a different
|
||||||
place and use that to run fullbuild, or use the standalone PPC python
|
place and use that to run fullbuild, or use the standalone PPC python
|
||||||
for this. I tend to keep a standalone interpreter in a safe place for
|
for this. I tend to keep a standalone interpreter in a safe place for
|
||||||
this use only.
|
this use only. <p>
|
||||||
|
|
||||||
|
Using fullbuild is also the only easy way to buid the fat application and applet.
|
||||||
|
See the fullbuild source for details on how to build the fat binaries "by hand".
|
||||||
|
|
||||||
</BLOCKQUOTE>
|
</BLOCKQUOTE>
|
||||||
|
|
||||||
You are all set now, and should read the release notes and
|
You are all set now, and should read the release notes and
|
||||||
|
|
Loading…
Reference in New Issue