File: introduction.html

package info (click to toggle)
db5.3 5.3.28%2Bdfsg1-0.5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 158,360 kB
  • sloc: ansic: 448,411; java: 111,824; tcl: 80,544; sh: 44,326; cs: 33,697; cpp: 21,604; perl: 14,557; xml: 10,799; makefile: 4,077; yacc: 1,003; awk: 965; sql: 801; erlang: 342; python: 216; php: 24; asm: 14
file content (227 lines) | stat: -rw-r--r-- 10,047 bytes parent folder | download | duplicates (8)
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<?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>Chapter 1. Introduction to Porting Berkeley DB</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="Porting Berkeley DB" />
    <link rel="up" href="index.html" title="Porting Berkeley DB" />
    <link rel="prev" href="moreinfo.html" title="For More Information" />
    <link rel="next" href="portprocess.html" title="Berkeley DB Porting Process" />
  </head>
  <body>
    <div xmlns="" class="navheader">
      <div class="libver">
        <p>Library Version 11.2.5.3</p>
      </div>
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Chapter 1. Introduction to Porting Berkeley DB </th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="moreinfo.html">Prev</a> </td>
          <th width="60%" align="center"> </th>
          <td width="20%" align="right"> <a accesskey="n" href="portprocess.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="chapter" lang="en" xml:lang="en">
      <div class="titlepage">
        <div>
          <div>
            <h2 class="title"><a id="introduction"></a>Chapter 1. Introduction to Porting Berkeley DB </h2>
          </div>
        </div>
      </div>
      <div class="toc">
        <p>
          <b>Table of Contents</b>
        </p>
        <dl>
          <dt>
            <span class="sect1">
              <a href="introduction.html#porttypes">Types of Berkeley DB ports</a>
            </span>
          </dt>
          <dd>
            <dl>
              <dt>
                <span class="sect2">
                  <a href="introduction.html#idp139688">When Oracle Has Agreed to Support Berkeley DB on the New Platform</a>
                </span>
              </dt>
              <dt>
                <span class="sect2">
                  <a href="introduction.html#idp79768">When Oracle has Not Agreed to Support Berkeley DB on the New Platform</a>
                </span>
              </dt>
            </dl>
          </dd>
          <dt>
            <span class="sect1">
              <a href="portprocess.html">Berkeley DB Porting Process</a>
            </span>
          </dt>
        </dl>
      </div>
      <p>
        Berkeley DB is an open source database product that supports a
        variety of platforms. When there is a need to run Berkeley DB on a
        platform that is currently not supported, DB is distributed in
        source code form that you can use as base source to port Berkeley
        DB to that platform. 
</p>
      <p>
Berkeley DB is designed to be as portable as possible, and has been ported to a wide
variety of systems, from Wind River's Tornado system, to VMS, to
Windows/NT and Windows/95, and most existing UNIX platforms.  It runs
on 16-bit, 32-bit, and 64-bit machines, little or big-endian.  The difficulty of
a port depends on how much of the ANSI C and POSIX 1003.1 standards the
new architecture offers.</p>
      <p>
        Before you begin actually porting Berkeley DB, you need an
        understanding of the:
</p>
      <div class="itemizedlist">
        <ul type="disc">
          <li>
            <p>
                        <a class="xref" href="introduction.html#porttypes" title="Types of Berkeley DB ports">Types of Berkeley DB ports</a>
                </p>
          </li>
          <li>
            <p>
                        <a class="xref" href="portprocess.html" title="Berkeley DB Porting Process">Berkeley DB Porting Process</a>
                </p>
          </li>
        </ul>
      </div>
      <div class="sect1" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title" style="clear: both"><a id="porttypes"></a>Types of Berkeley DB ports</h2>
            </div>
          </div>
        </div>
        <div class="toc">
          <dl>
            <dt>
              <span class="sect2">
                <a href="introduction.html#idp139688">When Oracle Has Agreed to Support Berkeley DB on the New Platform</a>
              </span>
            </dt>
            <dt>
              <span class="sect2">
                <a href="introduction.html#idp79768">When Oracle has Not Agreed to Support Berkeley DB on the New Platform</a>
              </span>
            </dt>
          </dl>
        </div>
        <p>
                There are several types of Berkeley DB ports:
        </p>
        <div class="itemizedlist">
          <ul type="disc">
            <li>
              <p>
                                Ports developed and supported by Oracle
                        </p>
            </li>
            <li>
              <p>
                                Ports developed by a customer or a partner, but which Oracle has 
                                agreed to support.
                        </p>
            </li>
            <li>
              <p>
                                Ports developed, maintained, and supported by a customer or partner.
                        </p>
            </li>
          </ul>
        </div>
        <p>
                For a port developed by a customer or a partner, the general steps for porting
                Berkeley DB to a new platform are the same whether or not Oracle has agreed to
                support Berkeley DB on the new platform.  For example, after you complete the port
                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>. 
                However, there are some differences.
        </p>
        <div class="sect2" lang="en" xml:lang="en">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="idp139688"></a>When Oracle Has Agreed to Support Berkeley DB on the New Platform</h3>
              </div>
            </div>
          </div>
          <p>
                        When porting Berkeley DB to a platform that Oracle has agreed to support,
                        you need to have Berkeley DB engineering review your port at various points.
                        These review points are discussed more fully 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>, 
                        <a class="xref" href="modifytest.html" title="Modifying the Tests">Modifying the Tests</a>, and 
                        <a class="xref" href="testreview.html" title="Reviewing the Results of the Tests">Reviewing the Results of the Tests</a>. 
                </p>
          <p>
                        It is up to you to submit the results of the tests (test_micro,
                       test_mutex, and, if possible, the entire tcl test
                        suit) for review by Oracle Berkelely DB engineering in order for Oracle to
                        consider providing support for Berkeley DB on a new platform. 
                </p>
          <p>
                        You must also assign copyrights for your changes to any part of Berkeley DB
                        to "Oracle Corporation" and attest to the fact that you are not infringing
                        on any software patents for the changes to be included in the general
                        Berekely DB distribution. 
                </p>
          <p>
                        Once the port is certified, Oracle provides support for Berkeley DB on the
                        new platform in the same manner that it does for Berkeley DB running on
                        other established platforms.
                </p>
        </div>
        <div class="sect2" lang="en" xml:lang="en">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="idp79768"></a>When Oracle has Not Agreed to Support Berkeley DB on the New Platform</h3>
              </div>
            </div>
          </div>
          <p>
                        When Oracle has <span class="emphasis"><em>not</em></span> agreed to support
                        Berkeley DB on the new platform, the customer or partner assume the
                        responsibility of front-line support. When it is determined that there is a
                        problem in the code that was not modified by the customer or partner, then
                        Berkeley DB engineering provides support to the customer or vendor who
                        implemented the port, However, in these cases, Oracle needs access to the
                        platform and hardware for diagnosing, debugging, and testing.
        
                </p>
        </div>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="moreinfo.html">Prev</a> </td>
          <td width="20%" align="center"> </td>
          <td width="40%" align="right"> <a accesskey="n" href="portprocess.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">For More Information </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> Berkeley DB Porting Process</td>
        </tr>
      </table>
    </div>
  </body>
</html>