1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4  <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6    <title>Chapter��2.��Creating a New Berkeley DB Binary</title>
7    <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8    <meta name="generator" content="DocBook XSL Stylesheets V1.62.4" />
9    <link rel="home" href="index.html" title="Porting Berkeley DB" />
10    <link rel="up" href="index.html" title="Porting Berkeley DB" />
11    <link rel="previous" href="portprocess.html" title="Berkeley DB Porting Process" />
12    <link rel="next" href="modscope.html" title="&#10;Determining the Scope of the Modifications&#10;" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Chapter��2.��Creating a New Berkeley DB Binary</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="portprocess.html">Prev</a>��</td>
22          <th width="60%" align="center">��</th>
23          <td width="20%" align="right">��<a accesskey="n" href="modscope.html">Next</a></td>
24        </tr>
25      </table>
26      <hr />
27    </div>
28    <div class="chapter" lang="en" xml:lang="en">
29      <div class="titlepage">
30        <div>
31          <div>
32            <h2 class="title"><a id="newbinary"></a>Chapter��2.��Creating a New Berkeley DB Binary</h2>
33          </div>
34        </div>
35        <div></div>
36      </div>
37      <div class="toc">
38        <p>
39          <b>Table of Contents</b>
40        </p>
41        <dl>
42          <dt>
43            <span class="sect1">
44              <a href="newbinary.html#basebuild">
45Creating a Base Build of Berkeley DB
46</a>
47            </span>
48          </dt>
49          <dt>
50            <span class="sect1">
51              <a href="modscope.html">
52Determining the Scope of the Modifications
53</a>
54            </span>
55          </dt>
56          <dd>
57            <dl>
58              <dt>
59                <span class="sect2">
60                  <a href="modscope.html#osfunc">
61Do Changes Need to be Made to the Operating System Functionality?
62</a>
63                </span>
64              </dt>
65              <dt>
66                <span class="sect2">
67                  <a href="modscope.html#standardfunc">Are Some Standard Functions Missing on the Target Platform?</a>
68                </span>
69              </dt>
70              <dt>
71                <span class="sect2">
72                  <a href="modscope.html#sharedmem">How Will the Port Handle Shared Memory?</a>
73                </span>
74              </dt>
75              <dt>
76                <span class="sect2">
77                  <a href="modscope.html#typemutex">What Type of Mutexes Will the Port Use?</a>
78                </span>
79              </dt>
80              <dt>
81                <span class="sect2">
82                  <a href="modscope.html#otherchanges">Do Any Other Changes Need to be Made?</a>
83                </span>
84              </dt>
85            </dl>
86          </dd>
87          <dt>
88            <span class="sect1">
89              <a href="buildtarget.html"> Building on the Target Platform</a>
90            </span>
91          </dt>
92        </dl>
93      </div>
94      <p>
95Creating a new Berkeley DB executable on the target platform, involves:
96</p>
97      <div class="orderedlist">
98        <ol type="1">
99          <li>
100            <p>
101<a href="newbinary.html#basebuild">
102Creating a Base Build of Berkeley DB
103</a>
104</p>
105          </li>
106          <li>
107            <p>
108<a href="modscope.html">
109Determining the Scope of the Modifications
110</a>
111</p>
112          </li>
113          <li>
114            <p>
115        <a href="buildtarget.html"> Building on the Target Platform</a>
116</p>
117          </li>
118        </ol>
119      </div>
120      <div class="sect1" lang="en" xml:lang="en">
121        <div class="titlepage">
122          <div>
123            <div>
124              <h2 class="title" style="clear: both"><a id="basebuild"></a>
125Creating a Base Build of Berkeley DB
126</h2>
127            </div>
128          </div>
129          <div></div>
130        </div>
131        <p>
132The simplest way to begin a port is to attempt to configure and build Berkeley DB on a UNIX or UNIX-like system. This gives you a list of the files that you needed to build Berkeley DB as well as the configuration files you can use as a starting point for building on your target port.
133</p>
134        <p>
135To create a base build of Berkeley DB, following the instructions in the
136<i class="citetitle">Berkeley DB Programmer's Reference Guide</i>:
137</p>
138        <div class="orderedlist">
139          <ol type="1">
140            <li>
141              <p>
142Download a Berkeley DB distribution from
143<a href="http://www.oracle.com/technology/software/products/berkeley-db/db/" target="_top">http://www.oracle.com/technology/software/products/berkeley-db/db/</a>.
144</p>
145            </li>
146            <li>
147              <p>
148Build Berkeley DB.
149</p>
150            </li>
151          </ol>
152        </div>
153      </div>
154    </div>
155    <div class="navfooter">
156      <hr />
157      <table width="100%" summary="Navigation footer">
158        <tr>
159          <td width="40%" align="left"><a accesskey="p" href="portprocess.html">Prev</a>��</td>
160          <td width="20%" align="center">
161            <a accesskey="u" href="index.html">Up</a>
162          </td>
163          <td width="40%" align="right">��<a accesskey="n" href="modscope.html">Next</a></td>
164        </tr>
165        <tr>
166          <td width="40%" align="left" valign="top">Berkeley DB Porting Process��</td>
167          <td width="20%" align="center">
168            <a accesskey="h" href="index.html">Home</a>
169          </td>
170          <td width="40%" align="right" valign="top">��
171Determining the Scope of the Modifications
172</td>
173        </tr>
174      </table>
175    </div>
176  </body>
177</html>
178