• 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 a BREW applet for the physical 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_brew.html" title="Chapter��25.�� Building Berkeley DB for the BREW simulator" />
11    <link rel="prev" href="build_brew.html" title="Chapter��25.�� Building Berkeley DB for the BREW simulator" />
12    <link rel="next" href="build_s60.html" title="Chapter��26.�� Building Berkeley DB for S60" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Building a BREW applet for the physical device</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="build_brew.html">Prev</a>��</td>
22          <th width="60%" align="center">Chapter��25.��
23		Building Berkeley DB for the BREW simulator
24        </th>
25          <td width="20%" align="right">��<a accesskey="n" href="build_s60.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="id1628252"></a>Building a BREW applet for the physical device</h2>
35          </div>
36        </div>
37      </div>
38      <p>The binaries linked with the Berkeley DB library for the BREW simulator are
39not target files that can run on the physical device.  In order to build
40for the physical device, an ARM compiler is needed: the recommended ARM
41compiler is ARM Developer Suite 1.2.</p>
42      <p>The steps for building a BREW applet for the physical device are as
43follows:</p>
44      <div class="orderedlist">
45        <ol type="1">
46          <li>Set the target BREW Applet project as the active project.</li>
47          <li>Select "Generate ARM Make file" in the BREW tool bar for VC6, and a make
48file will be generated (if this step does not work, confirm your ADS was
49correctly installed).</li>
50          <li>The Berkeley DB library must then be manually added to this make file.  See the
51<code class="filename">build_brew\bdbread.mak</code> file in the Berkeley DB distribution for an
52example.</li>
53          <li>Select <span class="emphasis"><em>Tools -&gt; BREW Application 'Make'</em></span> to build.</li>
54        </ol>
55      </div>
56      <p>The target .mod file will be created in the build directory, and this
57is the file which should be uploaded to the physical device.</p>
58    </div>
59    <div class="navfooter">
60      <hr />
61      <table width="100%" summary="Navigation footer">
62        <tr>
63          <td width="40%" align="left"><a accesskey="p" href="build_brew.html">Prev</a>��</td>
64          <td width="20%" align="center">
65            <a accesskey="u" href="build_brew.html">Up</a>
66          </td>
67          <td width="40%" align="right">��<a accesskey="n" href="build_s60.html">Next</a></td>
68        </tr>
69        <tr>
70          <td width="40%" align="left" valign="top">Chapter��25.��
71		Building Berkeley DB for the BREW simulator
72        ��</td>
73          <td width="20%" align="center">
74            <a accesskey="h" href="index.html">Home</a>
75          </td>
76          <td width="40%" align="right" valign="top">��Chapter��26.��
77		Building Berkeley DB for S60
78        </td>
79        </tr>
80      </table>
81    </div>
82  </body>
83</html>
84