intro.so

来自「berkeley db 4.6.21的源码。berkeley db是一个简单的数」· SO 代码 · 共 87 行

SO
87
字号
m4_comment([$Id: intro.so,v 1.7 2007/07/07 14:34:54 bostic Exp $])m4_ref_title(Building m4_db for S60,    Building for S60, @building for S60,    build_brew/intro, build_unix/intro)m4_p([dnlThis page has general instructions for building the m4_db library andapplications for the S60 platform.])m4_p([dnlBuilding m4_db for S60 requires S60 SDK version 3 or above withSymbian V9.1 or above; the 3rd Edition FP1 SDK is recommended.])m4_p([dnlThe NOKIA OpenC plugin should be installed on both emulator and device.])m4_p([dnlCodeWarrior IDE for S60 V3.1 is recommended.])m4_section([dnlBuilding m4_db for the S60 Emulator])m4_p([dnlThe m4_path(build_s60) directory in the m4_db distribution containsa m4_path(bdb_s60.mmp) project file, which can be imported toCodeWarrior or Carbide, etc.  This project file can be used to build them4_db library for the S60 platform.])m4_p([dnlThe steps for building the m4_db library for the S60 emulator areas follows:])m4_nlistbeginm4_nlist([dnlInstall the S60 SDK and OpenC library.])m4_nlist([dnlIn CodeWarrior, select m4_italic([File -__GT__ Import project from .mmp file]).])m4_nlist([dnlSelect an SDK to use with this project: m4_italic([nokia -__GT__S60 S60_3rd_FP1]).])m4_nlist([dnlClick to browse for MMP file selection.  Look in them4_path(build_s60) directory for Workspaces and selectm4_italic(bdb_s60.mmp).])m4_nlist([Click Next.])m4_nlist([Click Finish.])m4_nlist([dnlSelect build target to WINSCW UDEB, to build, press F7.])m4_nlistendm4_p([dnlThe build will create the file m4_path(bdb_s60.lib), which isinstalled into m4_path($EPOCROOT/epoc32/ release/winscw/udeb), which canbe linked by m4_db applications for the emulator.])m4_section([Building m4_db Library for the Device])m4_nlistbeginm4_nlist([dnlInstall the CSL Arm tool chain.])m4_nlist([dnlFrom m4_path($EPOCROOT/epoc32/release/armv5/lib), add OpenC librarylibpthread.dso to the GCCE library(libc.dso already added).])m4_nlist([dnlSince m4_db uses old-style function definitions, it will not be acceptedby the default compiler:arm-none-symbianelf-g++.exe.  Change thecompiler to arm-none-symbianelf-gcc.exe and specify the "-x c" optionthere.])m4_nlist([dnlSelect build target to GCCE UREL, to build, press F7.])m4_nlistendm4_p([dnlThe build will create the file m4_path(bdb_s60.lib), which isinstalled into m4_path($EPOCROOT/epoc32/ release/armv5/urel), which canbe linked by m4_db applications for device.])m4_section([Building a S60 application with the m4_db library])m4_p([dnlBuilding a m4_db application in the S60 environment is similarto building in a Windows environment.  Ensure the include filem4_path(build_s60/db.h) is in the build include path and the createdm4_path(bdb_s60.lib) is in the build library path.])m4_page_footer

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?