|
Building for S60
This page has general instructions for building the Berkeley DB library and applications for the S60 platform.
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.
The NOKIA OpenC plugin should be installed on both emulator and device.
CodeWarrior IDE for S60 V3.1 is recommended.
Building Berkeley DB for the S60 EmulatorThe build_s60 directory in the Berkeley DB distribution contains a bdb_s60.mmp 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.
The steps for building the Berkeley DB library for the S60 emulator are as follows:
The build will create the file bdb_s60.lib, which is installed into $EPOCROOT/epoc32/ release/winscw/udeb, which can be linked by Berkeley DB applications for the emulator.
Building Berkeley DB Library for the DeviceThe build will create the file bdb_s60.lib, which is installed into $EPOCROOT/epoc32/ release/armv5/urel, which can be linked by Berkeley DB applications for device.
Building a S60 application with the Berkeley DB libraryBuilding a Berkeley DB application in the S60 environment is similar to building in a Windows environment. Ensure the include file build_s60/db.h is in the build include path and the created bdb_s60.lib is in the build library path.
Copyright (c) 1996,2008 Oracle. All rights reserved.