]> granicus.if.org Git - python/commitdiff
Fix build process of bsddb for IA64 and AMD64.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 13 Mar 2006 15:37:40 +0000 (15:37 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 13 Mar 2006 15:37:40 +0000 (15:37 +0000)
Remove remarks on size_t problems.

PCbuild/_bsddb.vcproj
PCbuild/readme.txt

index a118b02f683684bbe93cdffcb69449d06706adac..daaa789e07b11002a3b197f06fed0eb6d2f65474 100644 (file)
                        <Tool
                                Name="VCLinkerTool"
                                AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
-                               AdditionalDependencies="..\..\db-4.4.20\build_win32\Release\libdb44s.lib"
+                               AdditionalDependencies="..\..\db-4.4.20\build_win32\Release_IA64\libdb44s.lib"
                                OutputFile="./_bsddb.pyd"
                                LinkIncremental="1"
                                SuppressStartupBanner="TRUE"
                        <Tool
                                Name="VCLinkerTool"
                                AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK"
-                               AdditionalDependencies="..\..\db-4.4.20\build_win32\Release\libdb44s.lib"
+                               AdditionalDependencies="..\..\db-4.4.20\build_win32\Release_AMD64\libdb44s.lib"
                                OutputFile="./_bsddb.pyd"
                                LinkIncremental="1"
                                SuppressStartupBanner="TRUE"
index db27ab94925ec45ad486ae847f817a641bde655c..bcd687f9c362dfd8f9b4be19b3548966a3b8906b 100644 (file)
@@ -212,6 +212,15 @@ _bsddb
     XXX doesn't cause a test to fail when it happens (exceptions in
     XXX threads are invisible to unittest).
 
+    Building for Win64:
+    - open a VS.NET 2003 command prompt
+    - run the SDK setenv.cmd script, passing /RETAIL and the target
+      architecture (/SRV64 for Itanium, /X64 for AMD64)
+    - build BerkeleyDB with the solution configuration matching the
+      target ("Release IA64" for Itanium, "Release AMD64" for AMD64), e.g.
+    devenv db-4.4.20\build_win32\Berkeley_DB.sln /build "Release AMD64" /project db_static /useenv
+    
+
 _ssl
     Python wrapper for the secure sockets library.
 
@@ -262,10 +271,6 @@ from http://sf.net/projects/vsextcomp. The plugin will wrap cl.exe, to
 locate the proper target compiler, and convert compiler options
 accordingly.
 
-The Itanium build has seen little testing. The SDK compiler reports a lot
-of warnings about conversion from size_t to int, which will be fixed in
-future Python releases.
-
 Building for AMD64
 ------------------