Building Berkeley DB Library for the Device
- Install the CSL Arm tool chain.
- From
$EPOCROOT/epoc32/release/armv5/lib
, add OpenC library
libpthread.dso to the GCCE library(libc.dso already added).
- Since Berkeley DB uses old-style function definitions, it will not be accepted
by the default compiler:arm-none-symbianelf-g++.exe. Change the
compiler to arm-none-symbianelf-gcc.exe and specify the "-x c" option
there.
- Select build target to GCCE UREL, to build, press F7.
The 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.