diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-04 15:34:06 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-04 15:34:06 (GMT) |
commit | aee643b01fe4cb3993efcc2e06639e5cbf684c94 (patch) | |
tree | 6baaee6b2666bb9b372126fe33a653297bc3cb3b /PC | |
parent | 306179b173a58238d817068e61acf6280e373e61 (diff) | |
download | cpython-aee643b01fe4cb3993efcc2e06639e5cbf684c94.zip cpython-aee643b01fe4cb3993efcc2e06639e5cbf684c94.tar.gz cpython-aee643b01fe4cb3993efcc2e06639e5cbf684c94.tar.bz2 |
Reverted last transaction. It's the wrong branch.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/VC6/_msi.dsp | 99 | ||||
-rw-r--r-- | PC/VC6/build_ssl.py | 2 | ||||
-rw-r--r-- | PC/VC6/pcbuild.dsw | 16 | ||||
-rw-r--r-- | PC/VC6/python.dsp | 5 | ||||
-rw-r--r-- | PC/VC6/pythoncore.dsp | 74 | ||||
-rw-r--r-- | PC/VC6/readme.txt | 28 |
6 files changed, 57 insertions, 167 deletions
diff --git a/PC/VC6/_msi.dsp b/PC/VC6/_msi.dsp deleted file mode 100644 index 38e4ac5..0000000 --- a/PC/VC6/_msi.dsp +++ /dev/null @@ -1,99 +0,0 @@ -# Microsoft Developer Studio Project File - Name="_msi" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=_msi - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "_msi.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "_msi.mak" CFG="_msi - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "_msi - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "_msi - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "_msi"
-# PROP Scc_LocalPath ".."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "_msi - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "."
-# PROP Intermediate_Dir "x86-temp-release\_msi"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-F90=df.exe
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\..\Include" /I ".." /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib fci.lib msi.lib rpcrt4.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib fci.lib msi.lib rpcrt4.lib /nologo /base:"0x1d1a0000" /subsystem:windows /dll /debug /machine:I386 /out:"./_msi.pyd"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "_msi - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "."
-# PROP Intermediate_Dir "x86-temp-debug\_msi"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-F90=df.exe
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\Include" /I ".." /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib fci.lib msi.lib rpcrt4.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib fci.lib msi.lib rpcrt4.lib /nologo /base:"0x1d1a0000" /subsystem:windows /dll /debug /machine:I386 /out:"./_msi_d.pyd" /pdbtype:sept
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "_msi - Win32 Release"
-# Name "_msi - Win32 Debug"
-# Begin Source File
-
-SOURCE=..\..\PC\_msi.c
-# End Source File
-# End Target
-# End Project
diff --git a/PC/VC6/build_ssl.py b/PC/VC6/build_ssl.py index 737b397..74f0383 100644 --- a/PC/VC6/build_ssl.py +++ b/PC/VC6/build_ssl.py @@ -8,7 +8,7 @@ # directory. It is likely you will already find the zlib library and # any other external packages there. # * Install ActivePerl and ensure it is somewhere on your path. -# * Run this script from the PC/VC6 directory. +# * Run this script from the PCBuild directory. # # it should configure and build SSL, then build the ssl Python extension # without intervention. diff --git a/PC/VC6/pcbuild.dsw b/PC/VC6/pcbuild.dsw index e236a6c..bd3718d 100644 --- a/PC/VC6/pcbuild.dsw +++ b/PC/VC6/pcbuild.dsw @@ -57,21 +57,6 @@ Package=<4> ###############################################################################
-Project: "_msi"=".\_msi.dsp" - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name pythoncore
- End Project Dependency
-}}}
-
-###############################################################################
-
Project: "_socket"=".\_socket.dsp" - Package Owner=<4>
Package=<5>
@@ -303,4 +288,3 @@ Package=<3> ###############################################################################
-
diff --git a/PC/VC6/python.dsp b/PC/VC6/python.dsp index c94746d..9135348 100644 --- a/PC/VC6/python.dsp +++ b/PC/VC6/python.dsp @@ -77,11 +77,6 @@ LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /base:"0x1d000000" /subsystem:console /debug /machine:I386 /out:"./python_d.exe" /pdbtype:sept
# SUBTRACT LINK32 /pdb:none
-# Begin Special Build Tool
-SOURCE="$(InputPath)"
-PostBuild_Desc=Changing stack size...
-PostBuild_Cmds=editbin /STACK:0x200000 python_d.exe
-# End Special Build Tool
!ENDIF
diff --git a/PC/VC6/pythoncore.dsp b/PC/VC6/pythoncore.dsp index 858619c..ca504d6 100644 --- a/PC/VC6/pythoncore.dsp +++ b/PC/VC6/pythoncore.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 largeint.lib kernel32.lib user32.lib advapi32.lib shell32.lib /nologo /base:"0x1e000000" /subsystem:windows /dll /debug /machine:I386 /nodefaultlib:"libc" /out:"./python30.dll"
+# ADD LINK32 largeint.lib kernel32.lib user32.lib advapi32.lib shell32.lib /nologo /base:"0x1e000000" /subsystem:windows /dll /debug /machine:I386 /nodefaultlib:"libc" /out:"./python26.dll"
# SUBTRACT LINK32 /pdb:none
!ELSEIF "$(CFG)" == "pythoncore - Win32 Debug"
@@ -82,7 +82,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 largeint.lib kernel32.lib user32.lib advapi32.lib shell32.lib /nologo /base:"0x1e000000" /subsystem:windows /dll /debug /machine:I386 /nodefaultlib:"libc" /out:"./python30_d.dll" /pdbtype:sept
+# ADD LINK32 largeint.lib kernel32.lib user32.lib advapi32.lib shell32.lib /nologo /base:"0x1e000000" /subsystem:windows /dll /debug /machine:I386 /nodefaultlib:"libc" /out:"./python26_d.dll" /pdbtype:sept
# SUBTRACT LINK32 /pdb:none
!ENDIF
@@ -129,15 +129,15 @@ SOURCE=..\..\Modules\_csv.c # End Source File
# Begin Source File
-SOURCE=..\..\Modules\_fileio.c
+SOURCE=..\..\Modules\_functoolsmodule.c
# End Source File
# Begin Source File
-SOURCE=..\..\Modules\_functoolsmodule.c
+SOURCE=..\..\Modules\_heapqmodule.c
# End Source File
# Begin Source File
-SOURCE=..\..\Modules\_heapqmodule.c
+SOURCE=..\..\Modules\_hotshot.c
# End Source File
# Begin Source File
@@ -201,10 +201,6 @@ SOURCE=..\..\Python\ast.c # End Source File
# Begin Source File
-SOURCE=..\..\Modules\atexitmodule.c
-# End Source File
-# Begin Source File
-
SOURCE=..\..\Modules\audioop.c
# End Source File
# Begin Source File
@@ -225,11 +221,7 @@ SOURCE=..\..\Objects\boolobject.c # End Source File
# Begin Source File
-SOURCE=..\..\Objects\bytes_methods.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\Objects\bytesobject.c
+SOURCE=..\..\Objects\bufferobject.c
# End Source File
# Begin Source File
@@ -261,7 +253,7 @@ SOURCE=..\..\Objects\codeobject.c # End Source File
# Begin Source File
-SOURCE=..\..\Modules\_collectionsmodule.c
+SOURCE=..\..\Modules\collectionsmodule.c
# End Source File
# Begin Source File
@@ -281,6 +273,10 @@ SOURCE=..\config.c # End Source File
# Begin Source File
+SOURCE=..\..\Modules\cPickle.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\Modules\zlib\crc32.c
# End Source File
# Begin Source File
@@ -297,14 +293,6 @@ SOURCE=..\..\Modules\zlib\deflate.c # End Source File
# Begin Source File
-SOURCE=..\..\Modules\zlib\gzio.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\Modules\zlib\infback.c
-# End Source File
-# Begin Source File
-
SOURCE=..\..\Objects\descrobject.c
# End Source File
# Begin Source File
@@ -341,10 +329,6 @@ SOURCE=..\..\Objects\fileobject.c # End Source File
# Begin Source File
-SOURCE=..\..\Parser\firstsets.c
-# End Source File
-# Begin Source File
-
SOURCE=..\..\Objects\floatobject.c
# End Source File
# Begin Source File
@@ -353,10 +337,6 @@ SOURCE=..\..\Objects\frameobject.c # End Source File
# Begin Source File
-SOURCE=..\..\Python\formatter_unicode.c
-# End Source File
-# Begin Source File
-
SOURCE=..\..\Python\frozen.c
# End Source File
# Begin Source File
@@ -418,11 +398,11 @@ SOURCE=..\..\Python\graminit.c # End Source File
# Begin Source File
-SOURCE=..\..\Parser\grammar.c
+SOURCE=..\..\Parser\grammar1.c
# End Source File
# Begin Source File
-SOURCE=..\..\Parser\grammar1.c
+SOURCE=..\..\Modules\imageop.c
# End Source File
# Begin Source File
@@ -451,6 +431,10 @@ SOURCE=..\..\Modules\zlib\inftrees.c # End Source File
# Begin Source File
+SOURCE=..\..\Objects\intobject.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\Objects\iterobject.c
# End Source File
# Begin Source File
@@ -483,15 +467,15 @@ SOURCE=..\..\Modules\mathmodule.c # End Source File
# Begin Source File
-SOURCE=..\..\Modules\md5module.c
+SOURCE=..\..\Modules\md5.c
# End Source File
# Begin Source File
-SOURCE=..\..\Parser\metagrammar.c
+SOURCE=..\..\Modules\md5module.c
# End Source File
# Begin Source File
-SOURCE=..\..\Objects\memoryobject.c
+SOURCE=..\..\Parser\metagrammar.c
# End Source File
# Begin Source File
@@ -579,10 +563,6 @@ SOURCE=..\..\Python\pystate.c # End Source File
# Begin Source File
-SOURCE=..\..\Python\pystrcmp.c
-# End Source File
-# Begin Source File
-
SOURCE=..\..\Python\pystrtod.c
# End Source File
# Begin Source File
@@ -603,6 +583,10 @@ SOURCE=..\..\Objects\rangeobject.c # End Source File
# Begin Source File
+SOURCE=..\..\Modules\rgbimgmodule.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\Modules\rotatingtree.c
# End Source File
# Begin Source File
@@ -619,7 +603,7 @@ SOURCE=..\..\Modules\sha512module.c # End Source File
# Begin Source File
-SOURCE=..\..\Modules\sha1module.c
+SOURCE=..\..\Modules\shamodule.c
# End Source File
# Begin Source File
@@ -635,6 +619,10 @@ SOURCE=..\..\Objects\stringobject.c # End Source File
# Begin Source File
+SOURCE=..\..\Modules\stropmodule.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\Python\structmember.c
# End Source File
# Begin Source File
@@ -679,10 +667,6 @@ SOURCE=..\..\Modules\zlib\trees.c # End Source File
# Begin Source File
-SOURCE=..\..\Modules\zlib\uncompr.c
-# End Source File
-# Begin Source File
-
SOURCE=..\..\Objects\tupleobject.c
# End Source File
# Begin Source File
diff --git a/PC/VC6/readme.txt b/PC/VC6/readme.txt index 79262ab..cfa549f 100644 --- a/PC/VC6/readme.txt +++ b/PC/VC6/readme.txt @@ -199,10 +199,12 @@ _ssl http://www.activestate.com/Products/ActivePerl/ as this is used by the OpenSSL build process. Complain to them <wink>. - The MSVC project simply invokes PC/VC6/build_ssl.py to perform + The MSVC project simply invokes PCBuild/build_ssl.py to perform the build. This Python script locates and builds your OpenSSL installation, then invokes a simple makefile to build the final .pyd. + Win9x users: see "Win9x note" below. + build_ssl.py attempts to catch the most common errors (such as not being able to find OpenSSL sources, or not being able to find a Perl that works with OpenSSL) and give a reasonable error message. @@ -214,6 +216,30 @@ _ssl build_ssl.py/MSVC isn't clever enough to clean OpenSSL - you must do this by hand. + Win9x note: If, near the start of the build process, you see + something like + + C:\Code\openssl-0.9.6g>set OPTS=no-asm + Out of environment space + + then you're in trouble, and will probably also see these errors near + the end of the process: + + NMAKE : fatal error U1073: don't know how to make + 'crypto\md5\asm\m5_win32.asm' + Stop. + NMAKE : fatal error U1073: don't know how to make + 'C:\Code\openssl-0.9.6g/out32/libeay32.lib' + Stop. + + You need more environment space. Win9x only has room for 256 bytes + by default, and especially after installing ActivePerl (which fiddles + the PATH envar), you're likely to run out. KB Q230205 + + http://support.microsoft.com/default.aspx?scid=KB;en-us;q230205 + + explains how to edit CONFIG.SYS to cure this. + YOUR OWN EXTENSION DLLs ----------------------- |