File: build_s60.html

package info (click to toggle)
db4.8 4.8.30-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 112,668 kB
  • ctags: 53,848
  • sloc: ansic: 177,324; java: 66,060; tcl: 61,580; cs: 27,778; cpp: 24,761; sh: 15,649; perl: 14,013; xml: 8,309; makefile: 2,303; awk: 1,749; sql: 390; python: 26; php: 22; asm: 14
file content (123 lines) | stat: -rw-r--r-- 5,361 bytes parent folder | download | duplicates (2)
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
<?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 26.  Building Berkeley DB for S60</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="Berkeley DB Programmer's Reference Guide" />
    <link rel="up" href="index.html" title="Berkeley DB Programmer's Reference Guide" />
    <link rel="prev" href="ch25s02.html" title="Building a BREW applet for the physical device" />
    <link rel="next" href="ch26s02.html" title="Building Berkeley DB Library for the Device" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Chapter 26. 
		Building Berkeley DB for S60
        </th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="ch25s02.html">Prev</a> </td>
          <th width="60%" align="center"> </th>
          <td width="20%" align="right"> <a accesskey="n" href="ch26s02.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="build_s60"></a>Chapter 26. 
		Building Berkeley DB for S60
        </h2>
          </div>
        </div>
      </div>
      <div class="toc">
        <p>
          <b>Table of Contents</b>
        </p>
        <dl>
          <dt>
            <span class="sect1">
              <a href="build_s60.html#id1628304">Building Berkeley DB for the S60 Emulator</a>
            </span>
          </dt>
          <dt>
            <span class="sect1">
              <a href="ch26s02.html">Building Berkeley DB Library for the Device</a>
            </span>
          </dt>
          <dt>
            <span class="sect1">
              <a href="ch26s03.html">Building a S60 application with the Berkeley DB library</a>
            </span>
          </dt>
          <dt>
            <span class="sect1">
              <a href="build_s60_notes.html">S60 notes</a>
            </span>
          </dt>
        </dl>
      </div>
      <p>This page has general instructions for building the Berkeley DB library and
applications for the S60 platform.</p>
      <p>Building Berkeley DB for S60 requires S60 SDK version 3 or above with
Symbian V9.1 or above; the 3rd Edition FP1 SDK is recommended.</p>
      <p>The NOKIA OpenC plugin should be installed on both emulator and device.</p>
      <p>CodeWarrior IDE for S60 V3.1 is recommended.</p>
      <div class="sect1" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title" style="clear: both"><a id="id1628304"></a>Building Berkeley DB for the S60 Emulator</h2>
            </div>
          </div>
        </div>
        <p>The <code class="filename">build_s60</code> directory in the Berkeley DB distribution contains
a <code class="filename">bdb_s60.mmp</code> project file, which can be imported to
CodeWarrior or Carbide, etc.  This project file can be used to build the
Berkeley DB library for the S60 platform.</p>
        <p>The steps for building the Berkeley DB library for the S60 emulator are
as follows:</p>
        <div class="orderedlist">
          <ol type="1">
            <li>Install the S60 SDK and OpenC library.</li>
            <li>In CodeWarrior, select <span class="emphasis"><em>File -&gt; Import project from .mmp file</em></span>.</li>
            <li>Select an SDK to use with this project: <span class="emphasis"><em>nokia -&gt;S60 S60_3rd_FP1</em></span>.</li>
            <li>Click to browse for MMP file selection.  Look in the
<code class="filename">build_s60</code> directory for Workspaces and select
<span class="emphasis"><em>bdb_s60.mmp</em></span>.</li>
            <li>Click Next.</li>
            <li>Click Finish.</li>
            <li>Select build target to WINSCW UDEB, to build, press F7.</li>
          </ol>
        </div>
        <p>The build will create the file <code class="filename">bdb_s60.lib</code>, which is
installed into <code class="filename">$EPOCROOT/epoc32/ release/winscw/udeb</code>, which can
be linked by Berkeley DB applications for the emulator.</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="ch25s02.html">Prev</a> </td>
          <td width="20%" align="center"> </td>
          <td width="40%" align="right"> <a accesskey="n" href="ch26s02.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">Building a BREW applet for the physical device </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> Building Berkeley DB Library for the Device</td>
        </tr>
      </table>
    </div>
  </body>
</html>