~ubuntu-branches/ubuntu/saucy/db/saucy-proposed

« back to all changes in this revision

Viewing changes to docs/installation/build_s60.html

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-10-25 22:16:35 UTC
  • mfrom: (13.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20101025221635-k0o38lxdx9kle3mh
Tags: 5.0.26-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Pass --build/--host to configure to support cross-building, and don't
    override CC.
  - Disable the Java build when cross-building, for now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 7.  Building Berkeley DB for S60</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="Berkeley DB Installation and Build Guide" />
 
10
    <link rel="up" href="index.html" title="Berkeley DB Installation and Build Guide" />
 
11
    <link rel="prev" href="build_wince_faq.html" title="Windows CE/Mobile FAQ" />
 
12
    <link rel="next" href="ch07s02.html" title="Building Berkeley DB Library for the Device" />
 
13
  </head>
 
14
  <body>
 
15
    <div class="navheader">
 
16
      <table width="100%" summary="Navigation header">
 
17
        <tr>
 
18
          <th colspan="3" align="center">Chapter 7. 
 
19
                Building Berkeley DB for S60
 
20
        </th>
 
21
        </tr>
 
22
        <tr>
 
23
          <td width="20%" align="left"><a accesskey="p" href="build_wince_faq.html">Prev</a> </td>
 
24
          <th width="60%" align="center"> </th>
 
25
          <td width="20%" align="right"> <a accesskey="n" href="ch07s02.html">Next</a></td>
 
26
        </tr>
 
27
      </table>
 
28
      <hr />
 
29
    </div>
 
30
    <div class="chapter" lang="en" xml:lang="en">
 
31
      <div class="titlepage">
 
32
        <div>
 
33
          <div>
 
34
            <h2 class="title"><a id="build_s60"></a>Chapter 7. 
 
35
                Building Berkeley DB for S60
 
36
        </h2>
 
37
          </div>
 
38
        </div>
 
39
      </div>
 
40
      <div class="toc">
 
41
        <p>
 
42
          <b>Table of Contents</b>
 
43
        </p>
 
44
        <dl>
 
45
          <dt>
 
46
            <span class="sect1">
 
47
              <a href="build_s60.html#id3369693">Building Berkeley DB for the S60 Emulator</a>
 
48
            </span>
 
49
          </dt>
 
50
          <dt>
 
51
            <span class="sect1">
 
52
              <a href="ch07s02.html">Building Berkeley DB Library for the Device</a>
 
53
            </span>
 
54
          </dt>
 
55
          <dt>
 
56
            <span class="sect1">
 
57
              <a href="ch07s03.html">Building a S60 application with the Berkeley DB library</a>
 
58
            </span>
 
59
          </dt>
 
60
          <dt>
 
61
            <span class="sect1">
 
62
              <a href="build_s60_notes.html">S60 notes</a>
 
63
            </span>
 
64
          </dt>
 
65
        </dl>
 
66
      </div>
 
67
      <p>This page has general instructions for building the Berkeley DB library and
 
68
applications for the S60 platform.</p>
 
69
      <p>Building Berkeley DB for S60 requires S60 SDK version 3 or above with
 
70
Symbian V9.1 or above; the 3rd Edition FP1 SDK is recommended.</p>
 
71
      <p>The NOKIA OpenC plugin should be installed on both emulator and device.</p>
 
72
      <p>CodeWarrior IDE for S60 V3.1 is recommended.</p>
 
73
      <div class="sect1" lang="en" xml:lang="en">
 
74
        <div class="titlepage">
 
75
          <div>
 
76
            <div>
 
77
              <h2 class="title" style="clear: both"><a id="id3369693"></a>Building Berkeley DB for the S60 Emulator</h2>
 
78
            </div>
 
79
          </div>
 
80
        </div>
 
81
        <p>The <code class="filename">build_s60</code> directory in the Berkeley DB distribution contains
 
82
a <code class="filename">bdb_s60.mmp</code> project file, which can be imported to
 
83
CodeWarrior or Carbide, etc.  This project file can be used to build the
 
84
Berkeley DB library for the S60 platform.</p>
 
85
        <p>The steps for building the Berkeley DB library for the S60 emulator are
 
86
as follows:</p>
 
87
        <div class="orderedlist">
 
88
          <ol type="1">
 
89
            <li>Install the S60 SDK and OpenC library.</li>
 
90
            <li>In CodeWarrior, select <span class="emphasis"><em>File -&gt; Import project from .mmp file</em></span>.</li>
 
91
            <li>Select an SDK to use with this project: <span class="emphasis"><em>nokia -&gt;S60 S60_3rd_FP1</em></span>.</li>
 
92
            <li>Click to browse for MMP file selection.  Look in the
 
93
<code class="filename">build_s60</code> directory for Workspaces and select
 
94
<span class="emphasis"><em>bdb_s60.mmp</em></span>.</li>
 
95
            <li>Click Next.</li>
 
96
            <li>Click Finish.</li>
 
97
            <li>Select build target to WINSCW UDEB, to build, press F7.</li>
 
98
          </ol>
 
99
        </div>
 
100
        <p>The build will create the file <code class="filename">bdb_s60.lib</code>, which is
 
101
installed into <code class="filename">$EPOCROOT/epoc32/ release/winscw/udeb</code>, which can
 
102
be linked by Berkeley DB applications for the emulator.</p>
 
103
      </div>
 
104
    </div>
 
105
    <div class="navfooter">
 
106
      <hr />
 
107
      <table width="100%" summary="Navigation footer">
 
108
        <tr>
 
109
          <td width="40%" align="left"><a accesskey="p" href="build_wince_faq.html">Prev</a> </td>
 
110
          <td width="20%" align="center"> </td>
 
111
          <td width="40%" align="right"> <a accesskey="n" href="ch07s02.html">Next</a></td>
 
112
        </tr>
 
113
        <tr>
 
114
          <td width="40%" align="left" valign="top">Windows CE/Mobile FAQ </td>
 
115
          <td width="20%" align="center">
 
116
            <a accesskey="h" href="index.html">Home</a>
 
117
          </td>
 
118
          <td width="40%" align="right" valign="top"> Building Berkeley DB Library for the Device</td>
 
119
        </tr>
 
120
      </table>
 
121
    </div>
 
122
  </body>
 
123
</html>