📄 intro.so
字号:
m4_comment([$Id: intro.so,v 1.26 2007/05/30 08:39:07 alexg Exp $])m4_ref_title(Building m4_db for VxWorks systems, Building for VxWorks 5.4 and 5.5, @building for VxWorks, build_wince/faq, build_vxworks/notes)m4_p([dnlThe build_vxworks directory in the m4_db distribution contains a workspaceand project files for Tornado 2.0/VxWorks 5.4 and Tornado 2.2/VxWorks 5.5.])m4_table_begin(, _center)m4_table_header(File, Description)m4_table_element(_left, BerkeleyDB20.wsp, m4_db Workspace file for Tornado 2.0)m4_table_element(_left, BerkeleyDB20.wpj, m4_db Project file for Tornado 2.0)m4_table_element(_left, BerkeleyDB22.wsp, m4_db Workspace file for Tornado 2.2)m4_table_element(_left, BerkeleyDB22.wpj, m4_db Project file for Tornado 2.2)m4_table_element(_left, dbdemo/dbdemo20.wpj, m4_link(M4RELDIR/ref/build_vxworks/notes, Demo program) project file for Tornado 2.0)m4_table_element(_left, dbdemo/dbdemo22.wpj, m4_link(M4RELDIR/ref/build_vxworks/notes, Demo program) project file for Tornado 2.2)m4_table_element(_left, db_*/*20.wpj, m4_link(M4RELDIR/ref/build_vxworks/notes, Support utilities) project files for Tornado 2.0)m4_table_element(_left, db_*/*22.wpj, m4_link(M4RELDIR/ref/build_vxworks/notes, Support utilities) project files for Tornado 2.2)m4_table_endm4_section([Building With Tornado 2.0 or Tornado 2.2])m4_p([dnlOpen the workspace m4_bold(BerkeleyDB20.wsp) or m4_bold(BerkeleyDB22.wsp).The list of projects in this workspace will be shown. These projectswere created for the x86 BSP for VxWorks.])m4_p([dnlThe remainder of this document assumes that you already have a VxWorkstarget and a target server, both up and running. It also assumes thatyour VxWorks image is configured properly for your needs. It alsoassumes that you have an acceptable file system already available.See m4_link(M4RELDIR/ref/build_vxworks/faq, VxWorks FAQ) for moreinformation about file system requirements.See m4_link(M4RELDIR/ref/build_vxworks/notes, VxWorks Notes) for moreinformation about building a small footprint version of m4_db.])m4_p([dnlFirst, you need to set the include directories. To do this, go to them4_italic(Builds) tab for the workspace. Open up m4_italic(m4_dbBuilds). You will see several different builds, containing differentconfigurations. All of the projects in the m4_db workspace are createdto be downloadable applications.])m4_table_begin(, _center)m4_table_header(Build, Description)m4_table_element(_left, PENTIUM_debug, x86 BSP with debugging)m4_table_element(_left, PENTIUM_release, x86 BSP no debugging)m4_table_endm4_p([dnlYou have to add a new build specification if you use adifferent BSP, want to add a build for the simulator orwant to customize further. For instance, if you have the Power PC (PPC)BSP, you need to add a new build for the PPC tool chain. To do so,select the "Builds" tab, select the m4_db project name, and right-click.Choose the m4_italic(New Build...) selection and create the new buildtarget. For your new build target, you need to decide whetherit should be built fordebugging. See the properties of the Pentium builds for ways toconfigure for each case. After you add this build you, you still needto configure correctly the include directories, as described in thesections that follow.])m4_p([dnlIf you are running with a differentBSP, you should remove the build specifications that do not apply toyour hardware. We recommend that you do this after you configure anynew build specifications first. The Tornado tools will get confused ifyou have a PENTIUMgnu build specification for a PPC BSP,for instance.])m4_p([dnlSelect the build you are interested in, and right-click. Choose them4_italic(Properties...) selection. At this point, a tabbed dialogshould appear. In this new window, choose the m4_italic(C/C++ compiler)tab. In the edit box, you need to modify the full pathname of them4_italic(build_vxworks) subdirectory of m4_db, followed by the fullpathname of m4_db. Then, click OK.Note that some versions of Tornado (such as the version for Windows)do not correctly handle relative pathnames in the include paths.])m4_p([dnlTo build and download the m4_db downloadable application for the first timerequires several steps: ])m4_nlistbeginm4_nlist([dnlSelect the build you are interested in, and right-click. Choose them4_italic(Set... as Active Build) selection.])m4_nlist([dnlSelect the build you are interested in, and right-click. Choose them4_italic(Dependencies...) selection. Run dependencies over all filesin the m4_db project.])m4_nlist([dnlSelect the build you are interested in, and right-click. Choose them4_italic(Rebuild All (m4_db.out)) selection.])m4_nlist([dnlSelect the m4_db project name, and right-click. Choose them4_italic(Download "m4_db.out") selection.])m4_nlistendm4_p([dnlNote that the output file listed about will really be listed asm4_italic(BerkeleyDB20.out) or m4_italic(BerkeleyDB22.out)depending on which version of Tornado you are running.You need to repeat this procedure for all builds you are interested inbuilding, as well as for all of the utility project builds you want torun.])m4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -