[Python-checkins] r43009 - python/trunk/PCbuild/_bsddb.vcproj python/trunk/PCbuild/readme.txt

martin.v.loewis python-checkins at python.org
Mon Mar 13 16:37:41 CET 2006


Author: martin.v.loewis
Date: Mon Mar 13 16:37:40 2006
New Revision: 43009

Modified:
   python/trunk/PCbuild/_bsddb.vcproj
   python/trunk/PCbuild/readme.txt
Log:
Fix build process of bsddb for IA64 and AMD64.
Remove remarks on size_t problems.

Modified: python/trunk/PCbuild/_bsddb.vcproj
==============================================================================
--- python/trunk/PCbuild/_bsddb.vcproj	(original)
+++ python/trunk/PCbuild/_bsddb.vcproj	Mon Mar 13 16:37:40 2006
@@ -151,7 +151,7 @@
 			<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"
@@ -213,7 +213,7 @@
 			<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"

Modified: python/trunk/PCbuild/readme.txt
==============================================================================
--- python/trunk/PCbuild/readme.txt	(original)
+++ python/trunk/PCbuild/readme.txt	Mon Mar 13 16:37:40 2006
@@ -212,6 +212,15 @@
     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 @@
 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
 ------------------
 


More information about the Python-checkins mailing list