Debian Codegraph @

docs/porting/introduction.html

raw symbols SCIP
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 1. Introduction to Porting Berkeley DB</title>
7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Porting Berkeley DB" />
10 <link rel="up" href="index.html" title="Porting Berkeley DB" />
11 <link rel="prev" href="moreinfo.html" title="For More Information" />
12 <link rel="next" href="portprocess.html" title="Berkeley DB Porting Process" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">Chapter 1. Introduction to Porting Berkeley DB </th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="moreinfo.html">Prev</a> </td>
25 <th width="60%" align="center"> </th>
26 <td width="20%" align="right"> <a accesskey="n" href="portprocess.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="chapter" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title"><a id="introduction"></a>Chapter 1. Introduction to Porting Berkeley DB </h2>
36 </div>
37 </div>
38 </div>
39 <div class="toc">
40 <p>
41 <b>Table of Contents</b>
42 </p>
43 <dl>
44 <dt>
45 <span class="sect1">
46 <a href="introduction.html#porttypes">Types of Berkeley DB ports</a>
47 </span>
48 </dt>
49 <dd>
50 <dl>
51 <dt>
52 <span class="sect2">
53 <a href="introduction.html#idp139688">When Oracle Has Agreed to Support Berkeley DB on the New Platform</a>
54 </span>
55 </dt>
56 <dt>
57 <span class="sect2">
58 <a href="introduction.html#idp79768">When Oracle has Not Agreed to Support Berkeley DB on the New Platform</a>
59 </span>
60 </dt>
61 </dl>
62 </dd>
63 <dt>
64 <span class="sect1">
65 <a href="portprocess.html">Berkeley DB Porting Process</a>
66 </span>
67 </dt>
68 </dl>
69 </div>
70 <p>
71 Berkeley DB is an open source database product that supports a
72 variety of platforms. When there is a need to run Berkeley DB on a
73 platform that is currently not supported, DB is distributed in
74 source code form that you can use as base source to port Berkeley
75 DB to that platform.
76 </p>
77 <p>
78 Berkeley DB is designed to be as portable as possible, and has been ported to a wide
79 variety of systems, from Wind River's Tornado system, to VMS, to
80 Windows/NT and Windows/95, and most existing UNIX platforms. It runs
81 on 16-bit, 32-bit, and 64-bit machines, little or big-endian. The difficulty of
82 a port depends on how much of the ANSI C and POSIX 1003.1 standards the
83 new architecture offers.</p>
84 <p>
85 Before you begin actually porting Berkeley DB, you need an
86 understanding of the:
87 </p>
88 <div class="itemizedlist">
89 <ul type="disc">
90 <li>
91 <p>
92 <a class="xref" href="introduction.html#porttypes" title="Types of Berkeley DB ports">Types of Berkeley DB ports</a>
93 </p>
94 </li>
95 <li>
96 <p>
97 <a class="xref" href="portprocess.html" title="Berkeley DB Porting Process">Berkeley DB Porting Process</a>
98 </p>
99 </li>
100 </ul>
101 </div>
102 <div class="sect1" lang="en" xml:lang="en">
103 <div class="titlepage">
104 <div>
105 <div>
106 <h2 class="title" style="clear: both"><a id="porttypes"></a>Types of Berkeley DB ports</h2>
107 </div>
108 </div>
109 </div>
110 <div class="toc">
111 <dl>
112 <dt>
113 <span class="sect2">
114 <a href="introduction.html#idp139688">When Oracle Has Agreed to Support Berkeley DB on the New Platform</a>
115 </span>
116 </dt>
117 <dt>
118 <span class="sect2">
119 <a href="introduction.html#idp79768">When Oracle has Not Agreed to Support Berkeley DB on the New Platform</a>
120 </span>
121 </dt>
122 </dl>
123 </div>
124 <p>
125 There are several types of Berkeley DB ports:
126 </p>
127 <div class="itemizedlist">
128 <ul type="disc">
129 <li>
130 <p>
131 Ports developed and supported by Oracle
132 </p>
133 </li>
134 <li>
135 <p>
136 Ports developed by a customer or a partner, but which Oracle has
137 agreed to support.
138 </p>
139 </li>
140 <li>
141 <p>
142 Ports developed, maintained, and supported by a customer or partner.
143 </p>
144 </li>
145 </ul>
146 </div>
147 <p>
148 For a port developed by a customer or a partner, the general steps for porting
149 Berkeley DB to a new platform are the same whether or not Oracle has agreed to
150 support Berkeley DB on the new platform. For example, after you complete the port
151 you send it to Berkeley DB as described in <a class="xref" href="sourceintegrate.html" title="Integrating Changes into the Berkeley DB Source Code">Integrating Changes into the Berkeley DB Source Code</a>.
152 However, there are some differences.
153 </p>
154 <div class="sect2" lang="en" xml:lang="en">
155 <div class="titlepage">
156 <div>
157 <div>
158 <h3 class="title"><a id="idp139688"></a>When Oracle Has Agreed to Support Berkeley DB on the New Platform</h3>
159 </div>
160 </div>
161 </div>
162 <p>
163 When porting Berkeley DB to a platform that Oracle has agreed to support,
164 you need to have Berkeley DB engineering review your port at various points.
165 These review points are discussed more fully in
166 <a class="xref" href="sourceintegrate.html" title="Integrating Changes into the Berkeley DB Source Code">Integrating Changes into the Berkeley DB Source Code</a>,
167 <a class="xref" href="modifytest.html" title="Modifying the Tests">Modifying the Tests</a>, and
168 <a class="xref" href="testreview.html" title="Reviewing the Results of the Tests">Reviewing the Results of the Tests</a>.
169 </p>
170 <p>
171 It is up to you to submit the results of the tests (test_micro,
172 test_mutex, and, if possible, the entire tcl test
173 suit) for review by Oracle Berkelely DB engineering in order for Oracle to
174 consider providing support for Berkeley DB on a new platform.
175 </p>
176 <p>
177 You must also assign copyrights for your changes to any part of Berkeley DB
178 to "Oracle Corporation" and attest to the fact that you are not infringing
179 on any software patents for the changes to be included in the general
180 Berekely DB distribution.
181 </p>
182 <p>
183 Once the port is certified, Oracle provides support for Berkeley DB on the
184 new platform in the same manner that it does for Berkeley DB running on
185 other established platforms.
186 </p>
187 </div>
188 <div class="sect2" lang="en" xml:lang="en">
189 <div class="titlepage">
190 <div>
191 <div>
192 <h3 class="title"><a id="idp79768"></a>When Oracle has Not Agreed to Support Berkeley DB on the New Platform</h3>
193 </div>
194 </div>
195 </div>
196 <p>
197 When Oracle has <span class="emphasis"><em>not</em></span> agreed to support
198 Berkeley DB on the new platform, the customer or partner assume the
199 responsibility of front-line support. When it is determined that there is a
200 problem in the code that was not modified by the customer or partner, then
201 Berkeley DB engineering provides support to the customer or vendor who
202 implemented the port, However, in these cases, Oracle needs access to the
203 platform and hardware for diagnosing, debugging, and testing.
204
205 </p>
206 </div>
207 </div>
208 </div>
209 <div class="navfooter">
210 <hr />
211 <table width="100%" summary="Navigation footer">
212 <tr>
213 <td width="40%" align="left"><a accesskey="p" href="moreinfo.html">Prev</a> </td>
214 <td width="20%" align="center"> </td>
215 <td width="40%" align="right"> <a accesskey="n" href="portprocess.html">Next</a></td>
216 </tr>
217 <tr>
218 <td width="40%" align="left" valign="top">For More Information </td>
219 <td width="20%" align="center">
220 <a accesskey="h" href="index.html">Home</a>
221 </td>
222 <td width="40%" align="right" valign="top"> Berkeley DB Porting Process</td>
223 </tr>
224 </table>
225 </div>
226 </body>
227 </html>