Kaydet (Commit) b091241d authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Fix build process of bsddb for IA64 and AMD64.

Remove remarks on size_t problems.
üst fcddd293
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK" 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" OutputFile="./_bsddb.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK" 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" OutputFile="./_bsddb.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
......
...@@ -212,6 +212,15 @@ _bsddb ...@@ -212,6 +212,15 @@ _bsddb
XXX doesn't cause a test to fail when it happens (exceptions in XXX doesn't cause a test to fail when it happens (exceptions in
XXX threads are invisible to unittest). 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 _ssl
Python wrapper for the secure sockets library. Python wrapper for the secure sockets library.
...@@ -262,10 +271,6 @@ from http://sf.net/projects/vsextcomp. The plugin will wrap cl.exe, to ...@@ -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 locate the proper target compiler, and convert compiler options
accordingly. 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 Building for AMD64
------------------ ------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment