1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Building Berkeley DB for 64-bit Windows</title>
<link rel="stylesheet" href="gettingStarted.css" type="text/css" />
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
<link rel="start" href="index.html" title="Berkeley DB Programmer's Reference Guide" />
<link rel="up" href="build_win.html" title="Chapter 28. Building Berkeley DB for Windows" />
<link rel="prev" href="build_win.html" title="Chapter 28. Building Berkeley DB for Windows" />
<link rel="next" href="win_build_cygwin.html" title="Building Berkeley DB with Cygwin" />
</head>
<body>
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr>
<th colspan="3" align="center">Building Berkeley DB for 64-bit Windows</th>
</tr>
<tr>
<td width="20%" align="left"><a accesskey="p" href="build_win.html">Prev</a> </td>
<th width="60%" align="center">Chapter 28.
Building Berkeley DB for Windows
</th>
<td width="20%" align="right"> <a accesskey="n" href="win_build_cygwin.html">Next</a></td>
</tr>
</table>
<hr />
</div>
<div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a id="win_build64"></a>Building Berkeley DB for 64-bit Windows</h2>
</div>
</div>
</div>
<div class="toc">
<dl>
<dt>
<span class="sect2">
<a href="win_build64.html#id1632202">x64 build with Visual Studio 2005 or newer</a>
</span>
</dt>
<dt>
<span class="sect2">
<a href="win_build64.html#id1632160">x64 build with Visual Studio .NET 2003 or earlier</a>
</span>
</dt>
</dl>
</div>
<p>The following procedure can be used to build natively on a 64-bit system
or to cross-compile from a 32-bit system.</p>
<p>
When building 64-bit binaries, the output directory will be one of the following
Berkeley DB subdirectories, depending upon the configuration that you
chose:
</p>
<table class="simplelist" border="0" summary="Simple list">
<tr>
<td>
<code class="filename">build_windows\x64\Debug</code>
</td>
</tr>
<tr>
<td>
<code class="filename">build_windows\x64\Release</code>
</td>
</tr>
<tr>
<td>
<code class="filename">build_windows\x64\Debug_static</code>
</td>
</tr>
<tr>
<td>
<code class="filename">build_windows\x64\Release_static</code>
</td>
</tr>
</table>
<div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="id1632202"></a>x64 build with Visual Studio 2005 or newer</h3>
</div>
</div>
</div>
<div class="orderedlist">
<ol type="1">
<li>
Follow the build instructions for your version of Visual
Studio, as described in
<a class="xref" href="build_win.html#win_build32" title="Building Berkeley DB for 32 bit Windows">Building Berkeley DB for 32 bit Windows</a>.
</li>
<li>Select <span class="emphasis"><em>x64</em></span> from the <span class="emphasis"><em>Platform
Configuration</em></span> dropdown.</li>
<li>Right click on <span class="emphasis"><em>Solution 'Berkeley_DB'</em></span> in the
solution explorer, and select <span class="emphasis"><em>Build Solution</em></span></li>
</ol>
</div>
</div>
<div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="id1632160"></a>x64 build with Visual Studio .NET 2003 or earlier</h3></div></div></div>
The build files shipped for earlier version of Visual Studio are not configured
to build 64-bit binary files. It is possible to do so, but we recommend
upgrading to a newer version of Visual Studio.
</div>
</div>
<div class="navfooter">
<hr />
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left"><a accesskey="p" href="build_win.html">Prev</a> </td>
<td width="20%" align="center">
<a accesskey="u" href="build_win.html">Up</a>
</td>
<td width="40%" align="right"> <a accesskey="n" href="win_build_cygwin.html">Next</a></td>
</tr>
<tr>
<td width="40%" align="left" valign="top">Chapter 28.
Building Berkeley DB for Windows
</td>
<td width="20%" align="center">
<a accesskey="h" href="index.html">Home</a>
</td>
<td width="40%" align="right" valign="top"> Building Berkeley DB with Cygwin</td>
</tr>
</table>
</div>
</body>
</html>
|