📄 intro.so
字号:
m4_comment([$Id: intro.so,v 1.2 2007/06/04 14:55:40 bostic Exp $])m4_ref_title(Building m4_db for Windows CE systems, Building for Windows CE, @building for Windows CE, build_win/faq, build_wince/notes)define(TCLMAJOR, 8)define(TCLMINOR, 4)define(TCLDEBUG, g)m4_p([dnlThis page contains general instructions on building m4_db forWindows CE platforms using specific compilers. Them4_link(M4RELDIR/ref/build_wince/faq, Windows CE FAQ) alsocontains helpful information.])m4_p([dnlThe m4_path(build_wince) directory in the m4_db distribution containsproject files for Microsoft eMbedded Visual C++:])m4_table_begin(, _center)m4_table_header(Project File, Description)m4_table_element(_center, Berkeley_DB.vcw, eMbedded Visual C++ 4.0 workspace)m4_table_element(_center, *.vcp, eMbedded Visual C++ 4.0 projects)m4_table_endm4_p([dnlThese project files can be used to build m4_db for the Windows CE platform.])m4_section([Building m4_db for Windows CE])m4_subsection([eMbedded Visual C++ 4.0])m4_nlistbeginm4_nlist([dnlChoose m4_italic([File -__GT__ Open Workspace...]).Navigate to the m4_path(build_wince) directory, select m4_path(Berkeley_DB)and click Open.])m4_nlist([dnlChoose the project configuration from them4_italic([Build -__GT__ Set Active Configuration...]) drop-down menu on thetool bar. The correct target will usually db_small - Win32 (WCE emulator)Debug or Release.])m4_nlist([dnlTo build, press F7, or select m4_italic([Build]) from the drop-down menu on the tool bar.])m4_nlistendm4_subsection([Build results])m4_p([dnlThe results of your build will be placed in a subdirectory ofm4_path(build_windows) named after the configuration you chose (forexamples, m4_path(build_wince\Release) orm4_path(build_wince\Debug)).])m4_p([dnlWhen building your application during development, you should normallylink againstm4_path(build_wince\Debug\libdb_small[]M4MAJOR[]M4MINOR[]sd.lib). You canalso build using a release version of the m4_db libraries and tools,which will be placed inm4_path(build_windows\Release\libdb_small[]M4MAJOR[]M4MINOR[]s.lib).You will also need to add the m4_path(build_wince) directory to the listof include directories of your application's project, or copy the m4_dbinclude files to a location in your Visual Studio include path.])m4_section([Building m4_db for different target CPU architectures])m4_p([dnlThere are many possible target CPU architectures for a Windows CEapplication. This section outlines the process required to add a newtarget architecture to the project files supplied with m4_db.])m4_subsection([eMbedded Visual C++ 4.0])m4_nlistbeginm4_nlist([dnlChoose m4_italic([File -__GT__ Open Workspace...]).Navigate to the m4_path(build_wince) directory, select m4_path(Berkeley_DB)and click Open.])m4_nlist([dnlChoose the m4_italic([Build -__GT__ Configurations...]) menu item.])m4_nlist([dnlClick the m4_italic([Add...]) button.])m4_nlist([dnlSelect the desired CPU architecture from the first dropdown box. Select anexisting target to copy the settings from (The corresponding emulatortarget is a good choice). Configuration should be either Debug or Release.Click m4_italic([OK]).])m4_nlist([dnlChoose the m4_italic([Build -__GT__ Set Active Configuration...]) menuitem. Choose the new target then click OK.])m4_nlist([dnlSelect the m4_italic([Project -__GT__ Settings...]) menu item. Underthe C/C++ tab, select the Preprocessor m4_italic([Category]). In them4_italic([Additional include directories:]) field add: ".,.."without the quotes. Click OK.])m4_nlist([dnlBuild as per the instructions in m4_italic([Building m4_db for WindowsCE]) above.])m4_nlistendm4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -