• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/docs/programmer_reference/
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>Building Berkeley DB Library for the Device</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 Programmer's Reference Guide" />
10    <link rel="up" href="build_s60.html" title="Chapter��26.�� Building Berkeley DB for S60" />
11    <link rel="prev" href="build_s60.html" title="Chapter��26.�� Building Berkeley DB for S60" />
12    <link rel="next" href="ch26s03.html" title="Building a S60 application with the Berkeley DB library" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Building Berkeley DB Library for the Device</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="build_s60.html">Prev</a>��</td>
22          <th width="60%" align="center">Chapter��26.��
23		Building Berkeley DB for S60
24        </th>
25          <td width="20%" align="right">��<a accesskey="n" href="ch26s03.html">Next</a></td>
26        </tr>
27      </table>
28      <hr />
29    </div>
30    <div class="sect1" lang="en" xml:lang="en">
31      <div class="titlepage">
32        <div>
33          <div>
34            <h2 class="title" style="clear: both"><a id="id1628443"></a>Building Berkeley DB Library for the Device</h2>
35          </div>
36        </div>
37      </div>
38      <div class="orderedlist">
39        <ol type="1">
40          <li>Install the CSL Arm tool chain.</li>
41          <li>From <code class="filename">$EPOCROOT/epoc32/release/armv5/lib</code>, add OpenC library
42libpthread.dso to the GCCE library(libc.dso already added).</li>
43          <li>Since Berkeley DB uses old-style function definitions, it will not be accepted
44by the default compiler:arm-none-symbianelf-g++.exe.  Change the
45compiler to arm-none-symbianelf-gcc.exe and specify the "-x c" option
46there.</li>
47          <li>Select build target to GCCE UREL, to build, press F7.</li>
48        </ol>
49      </div>
50      <p>The build will create the file <code class="filename">bdb_s60.lib</code>, which is
51installed into <code class="filename">$EPOCROOT/epoc32/ release/armv5/urel</code>, which can
52be linked by Berkeley DB applications for device.</p>
53    </div>
54    <div class="navfooter">
55      <hr />
56      <table width="100%" summary="Navigation footer">
57        <tr>
58          <td width="40%" align="left"><a accesskey="p" href="build_s60.html">Prev</a>��</td>
59          <td width="20%" align="center">
60            <a accesskey="u" href="build_s60.html">Up</a>
61          </td>
62          <td width="40%" align="right">��<a accesskey="n" href="ch26s03.html">Next</a></td>
63        </tr>
64        <tr>
65          <td width="40%" align="left" valign="top">Chapter��26.��
66		Building Berkeley DB for S60
67        ��</td>
68          <td width="20%" align="center">
69            <a accesskey="h" href="index.html">Home</a>
70          </td>
71          <td width="40%" align="right" valign="top">��Building a S60 application with the Berkeley DB library</td>
72        </tr>
73      </table>
74    </div>
75  </body>
76</html>
77