Skip to content

Commit 331a897

Browse files
committed
Description of the new build procedure for Win NT/95.
1 parent eaf9b6c commit 331a897

File tree

1 file changed

+38
-15
lines changed

1 file changed

+38
-15
lines changed

PC/readme.txt

Lines changed: 38 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,44 @@ wat_os2 A 32-bit OS/2 Python (console-mode).
6262
Microsoft Visual C++ Version 4.0 (32-bit Windows)
6363
=================================================
6464

65-
The project files are vc40.mdp, vc40.ncb and vc40.mak. They
66-
will NOT work from this PC directory. To use them, first copy
67-
them to the Python distribution directory with this command:
68-
copy vc40.* ..
69-
You may then want to remove them from here to prevent confusion.
70-
71-
Once the project files are located in the directory just above
72-
this one, start VC++ and read in the project. The targets are built
73-
in the subdirectories vc40_*.
74-
75-
vc40_dll The Python core built as an NT DLL.
76-
77-
vc40_nt A Windows NT and 95 Python QuickWin (console-mode)
78-
version of Python including sockets. It is
79-
self-contained, and does not require any DLL's.
65+
The distributed Makefile is vc40.mak. This file is distributed with
66+
CRLF line separators, otherwise Developer Studio won't like it. It
67+
will NOT work from this PC directory. To use it, first copy it to the
68+
Python distribution directory, e.g. with this command:
69+
copy vc40.mak ..
70+
To convert the Makefile into a project file, start Developer Studio,
71+
choose Open Workspace, change the file name pattern to *.mak, find and
72+
select the file vc40.mak, and click OK. Developer Studio will create
73+
additional project files vc40.ncb and vc40.mdp when you use the
74+
project. The project contains three targets, which should be built in
75+
this order:
76+
77+
python14 The Python core as a DLL, named python14.dll.
78+
79+
python The Python main program, named python.exe. This should
80+
work as a console program under Windows 95 or NT, as well
81+
as under Windows 3.1(1) when using win32s. It uses
82+
python14.dll.
83+
84+
_tkinter The optional _tkinter extension, _tkinter.dll; see below.
85+
86+
ALl end products of the compilation are placed in the subdirectory
87+
vc40 (which Developer Studio creates); object files are placed in
88+
vc40/tmp. There are no separate Release and Debug project variants.
89+
Note that the python and _tkinter projects require that the
90+
python14.lib file exists in the vc40 subdirectory before they can be
91+
built.
92+
93+
*** How to build the _tkinter extension ***
94+
95+
This assumes that you have installed the Tcl/Tk binary distribution
96+
for Windows 95/NT with version numbers 7.5p1/4.1p1, in the default
97+
installation location (C:\tcl). (Ftp to ftp.sunlabs.com in /pub/tcl,
98+
file win41p1.exe.) You must also have fetched and unpacked the zip
99+
file vclibs41.zip which contains the files tcl75.lib and tk41.lib, and
100+
placed those files in C:\tcl\bin. In order to use _tkinter, the
101+
Tkinter.py module must be on PYTHONPATH. It is found in the
102+
Lib\tkinter subdirectory.
80103

81104

82105
Microsoft Visual C++ Version 1.5 (16-bit Windows)

0 commit comments

Comments
 (0)