blob: 054ed7867bd33b7961edddf0ddceecbb0f9b506e [file] [log] [blame]
Guido van Rossum15b239f1998-05-26 14:16:23 +00001Building Python using VC++ 5.x
2------------------------------
Guido van Rossum4a78a3c1997-09-03 15:37:50 +00003
Guido van Rossum15b239f1998-05-26 14:16:23 +00004This directory is used to build Python for Win32 platforms,
5e.g. Windows 95, 98 and NT. It requires Microsoft Visual C++ 5.x.
6(For other Windows platforms and compilers, see ../PC/readme.txt.)
7
8Unlike previous versions, there's no longer a need to copy the project
9files from the PC/vc5x subdirectory to the PCbuild directory -- they
10come in PCbuild.
11
12All you need to do is open the workspace "pcbuild.dsw" in MSVC++,
13select the Debug or Release setting (using Set Active
14Configuration... in the Build menu), and build the projects.
15
16The proper order to build is
17
181) python15 (this builds python15.dll and python15.lib)
192) python (this builds python.exe)
203) the other subprojects
21
22Some subprojects require that you have distributions of other
23software: Tcl/Tk, bsddb and zlib. If you don't have these, you can't
24build the corresponding extensions. If you do have them, you may have
25to change the project settings to point to the right include files,
26libraries etc.
27
28When using the Debug setting, the output files have a _d added to
29their name: python15_d.dll, python_d.exe, parser_d.pyd, and so on.
Guido van Rossume79cf321998-07-07 22:35:03 +000030
31If you want to create your own extension module DLL, there's an
32example with easy-to-follow instructions in ../PC/example/; read the
33file readme.txt there first.
34
35Pointers:
36Tcl/Tk http://sunscript.sun.com/ or http://www.scriptics.com
37zlib http://www.winimage.com/zLibDll
38bsddb Sam Rushing's web/ftp site