Mercurial > cpython-lru_cache-weakref
annotate Mac/Relnotes-source @ 5817:48b94de85bf3 legacy-trunk
Extensive changes by AMK.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Jul 1997 16:29:42 +0000 |
| parents | 95d6e17955ef |
| children |
| rev | line source |
|---|---|
|
3302
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
1 How to build Python from a source distribution. |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
2 ----------------------------------------------- |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
3 |
|
4160
811a7ff783b7
Added note that these instruction are for a full source distribution,
Jack Jansen <jack.jansen@cwi.nl>
parents:
3470
diff
changeset
|
4 NOTE: These notes are for building a Python from a machine-independent |
|
811a7ff783b7
Added note that these instruction are for a full source distribution,
Jack Jansen <jack.jansen@cwi.nl>
parents:
3470
diff
changeset
|
5 source distribution, *not* for building a Python from a mac-specific |
|
811a7ff783b7
Added note that these instruction are for a full source distribution,
Jack Jansen <jack.jansen@cwi.nl>
parents:
3470
diff
changeset
|
6 source distribution. |
|
811a7ff783b7
Added note that these instruction are for a full source distribution,
Jack Jansen <jack.jansen@cwi.nl>
parents:
3470
diff
changeset
|
7 |
|
3302
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
8 You will need a Python source distribution in tar form. So, the |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
9 first thing you need is a tar program for the mac. Suntar is |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
10 reasonable and can be found at the info-mac sites. Edit the |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
11 preferences to make it extract C sources with creator CWIE |
|
3470
b38fdb008f1d
Updated to reflect new situation, added a warning on fmmodule.c
Jack Jansen <jack.jansen@cwi.nl>
parents:
3302
diff
changeset
|
12 and .py files as text files with creator Pyth, this will save |
|
3302
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
13 you work later. |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
14 |
|
5651
95d6e17955ef
Changed release note structure:
Jack Jansen <jack.jansen@cwi.nl>
parents:
4160
diff
changeset
|
15 You will also need CodeWarrior 11. If you have another development |
|
3302
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
16 environment you are on your own, basically. |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
17 |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
18 When you've extracted everything you may have to unpack the |
|
3470
b38fdb008f1d
Updated to reflect new situation, added a warning on fmmodule.c
Jack Jansen <jack.jansen@cwi.nl>
parents:
3302
diff
changeset
|
19 .hqx files in Mac:Resources and Mac:mwerks:Projects (but suntar |
|
3302
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
20 may have done this for you already). |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
21 |
|
3470
b38fdb008f1d
Updated to reflect new situation, added a warning on fmmodule.c
Jack Jansen <jack.jansen@cwi.nl>
parents:
3302
diff
changeset
|
22 You have to remove Modules:fmmodule.c, the SGI fm module, which has a |
|
b38fdb008f1d
Updated to reflect new situation, added a warning on fmmodule.c
Jack Jansen <jack.jansen@cwi.nl>
parents:
3302
diff
changeset
|
23 name conflict with the Mac Fmmodule.c. |
|
b38fdb008f1d
Updated to reflect new situation, added a warning on fmmodule.c
Jack Jansen <jack.jansen@cwi.nl>
parents:
3302
diff
changeset
|
24 |
|
5651
95d6e17955ef
Changed release note structure:
Jack Jansen <jack.jansen@cwi.nl>
parents:
4160
diff
changeset
|
25 |
|
3302
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
26 Next, create your build directories. I use the following naming |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
27 convention: |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
28 build.macppc.shared PowerPC shared-library |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
29 build.mac68k.stand 68K non-shared |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
30 and there are also projects for ppc standalone and some others, they |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
31 may be useful at times. The project files expect the build directories |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
32 to be located right in the main python folder, if you put them elsewhere |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
33 you will have to edit the access paths. |
|
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
34 |
|
3470
b38fdb008f1d
Updated to reflect new situation, added a warning on fmmodule.c
Jack Jansen <jack.jansen@cwi.nl>
parents:
3302
diff
changeset
|
35 Move MWCPythonCoreRuntime.µ, PythonCore.µ, PythonPPC.µ and |
|
b38fdb008f1d
Updated to reflect new situation, added a warning on fmmodule.c
Jack Jansen <jack.jansen@cwi.nl>
parents:
3302
diff
changeset
|
36 PythonApplet.µ (from the Mac:mwerks:projects folder) to |
|
b38fdb008f1d
Updated to reflect new situation, added a warning on fmmodule.c
Jack Jansen <jack.jansen@cwi.nl>
parents:
3302
diff
changeset
|
37 build.macppc.shared, move Python68K.µ to build.mac68k.stand. |
|
3302
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
38 |
|
5651
95d6e17955ef
Changed release note structure:
Jack Jansen <jack.jansen@cwi.nl>
parents:
4160
diff
changeset
|
39 Now, your folder structure more-or-less resembles that of what comes |
|
95d6e17955ef
Changed release note structure:
Jack Jansen <jack.jansen@cwi.nl>
parents:
4160
diff
changeset
|
40 with the mac source distribution. Read the file Mac:Demo:building.html |
|
95d6e17955ef
Changed release note structure:
Jack Jansen <jack.jansen@cwi.nl>
parents:
4160
diff
changeset
|
41 for further instructions. |
|
3302
54f0678757b0
(Minimal) instructions on how to build python from source
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
42 |
|
5651
95d6e17955ef
Changed release note structure:
Jack Jansen <jack.jansen@cwi.nl>
parents:
4160
diff
changeset
|
43 Jack Jansen, CWI, 28 May 1997. |
