Guido van Rossum | 15b239f | 1998-05-26 14:16:23 +0000 | [diff] [blame] | 1 | Building Python using VC++ 5.x |
| 2 | ------------------------------ |
Guido van Rossum | 4a78a3c | 1997-09-03 15:37:50 +0000 | [diff] [blame] | 3 | |
Guido van Rossum | 15b239f | 1998-05-26 14:16:23 +0000 | [diff] [blame] | 4 | This directory is used to build Python for Win32 platforms, |
| 5 | e.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 | |
| 8 | Unlike previous versions, there's no longer a need to copy the project |
| 9 | files from the PC/vc5x subdirectory to the PCbuild directory -- they |
| 10 | come in PCbuild. |
| 11 | |
| 12 | All you need to do is open the workspace "pcbuild.dsw" in MSVC++, |
| 13 | select the Debug or Release setting (using Set Active |
| 14 | Configuration... in the Build menu), and build the projects. |
| 15 | |
| 16 | The proper order to build is |
| 17 | |
| 18 | 1) python15 (this builds python15.dll and python15.lib) |
| 19 | 2) python (this builds python.exe) |
| 20 | 3) the other subprojects |
| 21 | |
| 22 | Some subprojects require that you have distributions of other |
| 23 | software: Tcl/Tk, bsddb and zlib. If you don't have these, you can't |
| 24 | build the corresponding extensions. If you do have them, you may have |
| 25 | to change the project settings to point to the right include files, |
| 26 | libraries etc. |
| 27 | |
| 28 | When using the Debug setting, the output files have a _d added to |
| 29 | their name: python15_d.dll, python_d.exe, parser_d.pyd, and so on. |