summaryrefslogtreecommitdiff
path: root/docs/installation/build_wince.html
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /docs/installation/build_wince.html
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'docs/installation/build_wince.html')
-rw-r--r--docs/installation/build_wince.html306
1 files changed, 199 insertions, 107 deletions
diff --git a/docs/installation/build_wince.html b/docs/installation/build_wince.html
index b37a49cc..32056ed6 100644
--- a/docs/installation/build_wince.html
+++ b/docs/installation/build_wince.html
@@ -14,13 +14,11 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
- <th colspan="3" align="center">Chapter 6. 
- Building Berkeley DB for Windows Mobile
- </th>
+ <th colspan="3" align="center">Chapter 6.  Building Berkeley DB for Windows Mobile </th>
</tr>
<tr>
<td width="20%" align="left"><a accesskey="p" href="build_win_faq.html">Prev</a> </td>
@@ -34,9 +32,7 @@
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a id="build_wince"></a>Chapter 6. 
- Building Berkeley DB for Windows Mobile
- </h2>
+ <h2 class="title"><a id="build_wince"></a>Chapter 6.  Building Berkeley DB for Windows Mobile </h2>
</div>
</div>
</div>
@@ -47,24 +43,25 @@
<dl>
<dt>
<span class="sect1">
- <a href="build_wince.html#build_wince_intro">Building for Windows Mobile</a>
+ <a href="build_wince.html#build_wince_intro">Building for Windows
+ Mobile</a>
</span>
</dt>
<dd>
<dl>
<dt>
<span class="sect2">
- <a href="build_wince.html#idm516512">Building Berkeley DB for Windows Mobile</a>
+ <a href="build_wince.html#idp475008">Building Berkeley DB for Windows Mobile</a>
</span>
</dt>
<dt>
<span class="sect2">
- <a href="build_wince.html#idp180744">Changing Build Configuration Type</a>
+ <a href="build_wince.html#idp520696">Changing Build Configuration Type</a>
</span>
</dt>
<dt>
<span class="sect2">
- <a href="build_wince.html#idp156256">Building Berkeley DB for different target platforms</a>
+ <a href="build_wince.html#build_wince_intro.add_platform">Building Berkeley DB for different target platforms</a>
</span>
</dt>
</dl>
@@ -79,13 +76,39 @@
<a href="build_wince_faq.html">Windows Mobile FAQ</a>
</span>
</dt>
+ <dt>
+ <span class="sect1">
+ <a href="build_winec_intro.html">Building for Windows
+ Embedded Compact 7</a>
+ </span>
+ </dt>
+ <dd>
+ <dl>
+ <dt>
+ <span class="sect2">
+ <a href="build_winec_intro.html#idp578472">Building Berkeley DB for Windows Embedded Compact 7</a>
+ </span>
+ </dt>
+ <dt>
+ <span class="sect2">
+ <a href="build_winec_intro.html#idp570016">Changing Build Configuration Type</a>
+ </span>
+ </dt>
+ <dt>
+ <span class="sect2">
+ <a href="build_winec_intro.html#idp588240">Troubleshooting Common Build Errors</a>
+ </span>
+ </dt>
+ </dl>
+ </dd>
</dl>
</div>
<div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title" style="clear: both"><a id="build_wince_intro"></a>Building for Windows Mobile</h2>
+ <h2 class="title" style="clear: both"><a id="build_wince_intro"></a>Building for Windows
+ Mobile</h2>
</div>
</div>
</div>
@@ -93,25 +116,31 @@
<dl>
<dt>
<span class="sect2">
- <a href="build_wince.html#idm516512">Building Berkeley DB for Windows Mobile</a>
+ <a href="build_wince.html#idp475008">Building Berkeley DB for Windows Mobile</a>
</span>
</dt>
<dt>
<span class="sect2">
- <a href="build_wince.html#idp180744">Changing Build Configuration Type</a>
+ <a href="build_wince.html#idp520696">Changing Build Configuration Type</a>
</span>
</dt>
<dt>
<span class="sect2">
- <a href="build_wince.html#idp156256">Building Berkeley DB for different target platforms</a>
+ <a href="build_wince.html#build_wince_intro.add_platform">Building Berkeley DB for different target platforms</a>
</span>
</dt>
</dl>
</div>
- <p>This page contains general instructions on building Berkeley DB for
-Windows Mobile platforms using specific compilers.</p>
- <p>The <code class="filename">build_wince</code> directory in the Berkeley DB distribution contains
-project files for Microsoft Visual 2005 with the Mobile SDK installed:</p>
+ <p>
+ This page contains general instructions on building Berkeley
+ DB for Windows Mobile platforms using specific
+ compilers.
+ </p>
+ <p>
+ The <code class="filename">build_wince</code> directory in the
+ Berkeley DB distribution contains project files for Microsoft
+ Visual 2005 with the Mobile SDK installed:
+ </p>
<div class="informaltable">
<table border="1" width="80%">
<colgroup>
@@ -127,21 +156,26 @@ project files for Microsoft Visual 2005 with the Mobile SDK installed:</p>
<tbody>
<tr>
<td align="center">Berkeley_DB.sln</td>
- <td align="center">Visual Studio 2005 solution</td>
+ <td align="center">Visual Studio 2005
+ solution</td>
</tr>
<tr>
<td align="center">*.vcproj</td>
- <td align="center">Visual Studio 2005 project files</td>
+ <td align="center">Visual Studio 2005 project
+ files</td>
</tr>
</tbody>
</table>
</div>
- <p>These project files can be used to build Berkeley DB for the Windows Mobile platform.</p>
+ <p>
+ These project files can be used to build Berkeley DB for the
+ Windows Mobile platform.
+ </p>
<div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a id="idm516512"></a>Building Berkeley DB for Windows Mobile</h3>
+ <h3 class="title"><a id="idp475008"></a>Building Berkeley DB for Windows Mobile</h3>
</div>
</div>
</div>
@@ -149,17 +183,26 @@ project files for Microsoft Visual 2005 with the Mobile SDK installed:</p>
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a id="idp144872"></a>Visual Studio 2005</h4>
+ <h4 class="title"><a id="idp456008"></a>Visual Studio 2005</h4>
</div>
</div>
</div>
<div class="orderedlist">
<ol type="1">
- <li>Choose <span class="emphasis"><em>File -&gt; Open Workspace...</em></span>.
-Navigate to the <code class="filename">build_wince</code> directory, select <code class="filename">Berkeley_DB</code>
-and click <code class="literal">Open</code>.</li>
- <li>Select the desired target platform from the platform drop-down menu.</li>
- <li>Build the desired projects.</li>
+ <li>
+ Choose <span class="emphasis"><em>File -&gt; Open
+ Workspace...</em></span>. Navigate to the
+ <code class="filename">build_wince</code> directory,
+ select <code class="filename">Berkeley_DB</code> and click
+ <code class="literal">Open</code>.
+ </li>
+ <li>
+ Select the desired target platform from the
+ platform drop-down menu.
+ </li>
+ <li>
+ Build the desired projects.
+ </li>
</ol>
</div>
</div>
@@ -167,13 +210,14 @@ and click <code class="literal">Open</code>.</li>
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a id="idp184624"></a>Build results</h4>
+ <h4 class="title"><a id="idp524896"></a>Build results</h4>
</div>
</div>
</div>
- <p>The results of your build will be placed in any one of the following Berkeley DB subdirectories,
-depending on the configuration that you chose:
-</p>
+ <p>
+ The results of your build will be placed in any one
+ of the following Berkeley DB subdirectories, depending
+ on the configuration that you chose: </p>
<table class="simplelist" border="0" summary="Simple list">
<tr>
<td>
@@ -197,31 +241,39 @@ depending on the configuration that you chose:
</tr>
</table>
<p>
-</p>
- <p>When building your application during development, you must
-link against
-<code class="filename">libdb_small53sd.lib</code> or against <code class="filename">libdb_sql53sd.lib</code> for SQL features. You can
-also build using a release version of the Berkeley DB libraries and tools,
-which will be placed in the
-<code class="filename">build_wince\(Platform)\Release_static </code>directory.
-You must add the <code class="filename">build_wince</code> directory to the list
-of include directories of your application's project, or copy the Berkeley DB
-include files to a location in your Visual Studio include path.</p>
+ </p>
+ <p>
+ When building your application during development,
+ you must link against
+ <code class="filename">libdb_small61sd.lib</code>
+ or against
+ <code class="filename">libdb_sql61sd.lib</code>
+ for SQL features. You can also build using a release
+ version of the Berkeley DB libraries and tools, which
+ will be placed in the
+ <code class="filename">build_wince\(Platform)\Release_static
+ </code>directory. You must add the
+ <code class="filename">build_wince</code> directory to the
+ list of include directories of your application's
+ project, or copy the Berkeley DB include files to a
+ location in your Visual Studio include path.
+ </p>
</div>
</div>
<div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a id="idp180744"></a>Changing Build Configuration Type</h3>
+ <h3 class="title"><a id="idp520696"></a>Changing Build Configuration Type</h3>
</div>
</div>
</div>
- <p>
-This section contains information on how to change between a dynamic
-library (.dll) and static library (.lib). The library projects and their default
-output and configuration in the Release build is as follows:
-</p>
+ <p>
+ This section contains information on how to change
+ between a dynamic library (.dll) and static library
+ (.lib). The library projects and their default output and
+ configuration in the Release build is as follows:
+ </p>
<div class="informaltable">
<table border="1" width="80%">
<colgroup>
@@ -233,107 +285,131 @@ output and configuration in the Release build is as follows:
<tr>
<th align="center">Project</th>
<th align="center">Default Output</th>
- <th align="center">Default Configuration</th>
+ <th align="center">Default
+ Configuration</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">db_small_static</td>
- <td align="center">libdb_small53s.lib</td>
+ <td align="center">libdb_small61s.lib</td>
<td align="center">Static Library</td>
</tr>
<tr>
<td align="center">db_static</td>
- <td align="center">libdb53s.lib</td>
+ <td align="center">libdb61s.lib</td>
<td align="center">Static Library</td>
</tr>
<tr>
<td align="center">db_sql</td>
- <td align="center">libdb_sql53.dll</td>
+ <td align="center">libdb_sql61.dll</td>
<td align="center">Dynamic Library</td>
</tr>
<tr>
<td align="center">db_sql_static</td>
- <td align="center">libdb_sql53s.lib</td>
+ <td align="center">libdb_sql61s.lib</td>
<td align="center">Static Library</td>
</tr>
</tbody>
</table>
</div>
<p>
-To change a project configuration type in Visual Studio 2005, select a
-project and do the following:
-</p>
+ To change a project configuration type in Visual Studio
+ 2005, select a project and do the following:
+ </p>
<div class="orderedlist">
<ol type="1">
- <li>Choose <span class="emphasis"><em>Project</em></span>-&gt;<span class="emphasis"><em>Properties</em></span> and navigate to <code class="literal">Configuration Properties.</code></li>
- <li>Under <code class="literal">Project Defaults</code>, change the <code class="literal">Configuration Type</code> to your desired type.</li>
+ <li>
+ Choose
+ <span class="emphasis"><em>Project</em></span>-&gt;<span class="emphasis"><em>Properties</em></span>
+ and navigate to <code class="literal">Configuration
+ Properties.</code></li>
+ <li>
+ Under <code class="literal">Project Defaults</code>,
+ change the <code class="literal">Configuration Type</code> to
+ your desired type.
+ </li>
</ol>
</div>
- <p>Note: After this change, the output file names change to the Visual Studio 2005 defaults based on the project name.</p>
+ <p>
+ Note: After this change, the output file names change to
+ the Visual Studio 2005 defaults based on the project
+ name.
+ </p>
</div>
<div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a id="idp156256"></a>Building Berkeley DB for different target platforms</h3>
+ <h3 class="title"><a id="build_wince_intro.add_platform"></a>Building Berkeley DB for different target platforms</h3>
</div>
</div>
</div>
+ <p>
+ There are many possible target CPU architectures for a
+ Windows Mobile application. This section outlines the
+ process required to add a new target architecture to the
+ project files supplied with Berkeley DB.
+ </p>
+ <p>
+ The Visual Studio 2005 project files will by default
+ build for Pocket PC 2003 and Smartphone 2003, and Windows
+ Mobile 6.5.3 Professional. If you want to build for other
+ platforms such as Windows Mobile 6.0, 6.1, or 6.5, you
+ need to follow the steps provided in this section.
+ </p>
<p>
- There are many possible target CPU architectures for a Windows
- Mobile application. This section outlines the process required to
- add a new target architecture to the project files supplied with
- Berkeley DB.
- </p>
- <p>
- The Visual Studio 2005 project files will by default build for
- Pocket PC 2003 and Smartphone 2003, and Windows Mobile 6.5.3 Professional. If you want to
- build for other platforms such as Windows Mobile 6.0, 6.1, or 6.5, you need to follow the steps provided in this section.
- </p>
- <p>
- Different target architectures are available in different Platform
- SDK or DTK downloads from Microsoft. The appropriate SDK must be installed
- for your mobile architecture before you can build for that
- platform. You can find the downloads at the <a class="ulink" href=" http://msdn.microsoft.com/en-us/windowsmobile/default.aspx" target="_top">Microsoft Developer Center</a> page.
- </p>
+ Different target architectures are available in
+ different Platform SDK or DTK downloads from Microsoft.
+ The appropriate SDK must be installed for your mobile
+ architecture before you can build for that platform. You
+ can find the downloads at the <a class="ulink" href=" http://msdn.microsoft.com/en-us/windowsmobile/default.aspx" target="_top">
+ Microsoft Developer Center</a> page.
+ </p>
<div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a id="idp191952"></a>Visual Studio 2005</h4>
+ <h4 class="title"><a id="idp532440"></a>Visual Studio 2005</h4>
</div>
</div>
</div>
<div class="orderedlist">
<ol type="1">
<li>
- Choose <span class="emphasis"><em>File -&gt; Open Workspace...</em></span>.
- Navigate to the <code class="filename">build_wince</code> directory,
- select <code class="filename">Berkeley_DB</code> and click Open.
- </li>
- <li>
- From the <code class="literal">Solution explorer</code> window,
- right-click the <code class="literal">Solution Berkeley_DB</code> and
- select <code class="literal">Configuration manager...</code></li>
- <li>
- In the <code class="literal">Active solution platform:</code> drop
- down box select <code class="literal">New...</code></li>
- <li>
- From the <code class="literal">Type or select the new platform</code>
- drop-down box, select a configuration from the ones
- available and click <code class="literal">OK.</code></li>
+ Choose <span class="emphasis"><em>File -&gt; Open
+ Workspace...</em></span>. Navigate to the
+ <code class="filename">build_wince</code> directory,
+ select <code class="filename">Berkeley_DB</code> and click
+ Open.
+ </li>
<li>
- Click <code class="literal">Close</code> from the
- <code class="literal">Configuration Manager</code> dialog box.
- </li>
+ From the <code class="literal">Solution
+ explorer</code> window, right-click the
+ <code class="literal">Solution Berkeley_DB</code> and
+ select <code class="literal">Configuration manager...</code></li>
+ <li>
+ In the <code class="literal">Active solution
+ platform:</code> drop down box select
+ <code class="literal">New...</code></li>
+ <li>
+ From the <code class="literal">Type or select the new
+ platform</code> drop-down box, select a
+ configuration from the ones available and click
+ <code class="literal">OK.</code></li>
<li>
- The target platform drop-down now contains the platform
- just added.
- </li>
+ Click <code class="literal">Close</code> from the
+ <code class="literal">Configuration Manager</code>
+ dialog box.
+ </li>
<li>
- Build as per the instructions given at the beginning of this chapter.
- </li>
+ The target platform drop-down now contains
+ the platform just added.
+ </li>
+ <li>
+ Build as per the instructions given at the
+ beginning of this chapter.
+ </li>
</ol>
</div>
</div>
@@ -341,18 +417,34 @@ project and do the following:
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a id="idp198816"></a>BDB SQL Notes</h4>
+ <h4 class="title"><a id="idp502048"></a>BDB SQL Notes</h4>
</div>
</div>
</div>
<p>
- After building for a different platform, change the deployment remote directory for the <code class="literal">db_sql</code> project to run the <code class="literal">wce_sql</code> sample application:
- </p>
+ After building for a different platform, change the
+ deployment remote directory for the
+ <code class="literal">db_sql</code> project to run the
+ <code class="literal">wce_sql</code> sample application:
+ </p>
<div class="orderedlist">
<ol type="1">
- <li>Select <code class="literal">db_sql</code> from the <code class="literal">Solution explorer</code> window.</li>
- <li>Choose <span class="emphasis"><em>Project-&gt;Properties</em></span> and navigate to <code class="literal">Configuration Properties</code>.</li>
- <li>Under <code class="literal">Deployment</code>, change the remote directory to <code class="literal">%CSIDL_PROGRAM_FILES%\wce_sql</code>.</li>
+ <li>
+ Select <code class="literal">db_sql</code> from the
+ <code class="literal">Solution explorer</code>
+ window.
+ </li>
+ <li>
+ Choose
+ <span class="emphasis"><em>Project-&gt;Properties</em></span> and
+ navigate to <code class="literal">Configuration
+ Properties</code>.
+ </li>
+ <li>
+ Under <code class="literal">Deployment</code>, change
+ the remote directory to
+ <code class="literal">%CSIDL_PROGRAM_FILES%\wce_sql</code>.
+ </li>
</ol>
</div>
</div>