📄 small.so
字号:
m4_comment([$Id: small.so,v 10.11 2007/06/13 18:56:05 bostic Exp $])m4_ref_title(Building m4_db for UNIX/POSIX systems, Building a small memory footprint library,, build_unix/conf, build_unix/flags)m4_p([dnlThere are a set of configuration options to assist you in building asmall memory footprint library. These configuration options turn offspecific functionality in the m4_db library, reducing the code size.These configuration options include:])m4_tagbeginm4_tag([m4_idef(--disable-cryptography)], [dnlTo build m4_db without support for cryptography, enter--disable-cryptography as an argument to configure.])m4_tag([m4_idef(--disable-hash)], [dnlTo build m4_db without support for the Hash access method, enter--disable-hash as an argument to configure.])m4_tag([m4_idef(--disable-queue)], [dnlTo build m4_db without support for the Queue access method, enter--disable-queue as an argument to configure.])m4_tag([m4_idef(--disable-replication)], [dnlTo build m4_db without support for the database environment replication,enter --disable-replication as an argument to configure.])m4_tag([m4_idef(--disable-statistics)], [dnlTo build m4_db without support for the statistics interfaces, enter--disable-statistics as an argument to configure.])m4_tag([m4_idef(--disable-verify)], [dnlTo build m4_db without support for database verification, enter--disable-verify as an argument to configure.])m4_tag([m4_idef(--enable-smallbuild)], [dnlEquivalent to individually specifying --disable-cryptography,--disable-hash, --disable-queue, --disable-replication,--disable-statistics and --disable-verify. In addition, when compilingbuilding with the GNU gcc compiler, the --enable-smallbuild option usesthe -Os compiler build flag instead of the default -O3.])m4_tagendm4_p([dnlThe following configuration options will increase the size of the m4_dblibrary dramatically and are only useful when debugging applications:])m4_tagbeginm4_tag([m4_linkpage(M4RELDIR/ref/build_unix/conf,--enable-debug, --enable-debug)], [dnlBuild m4_db with symbols for debugging.])m4_tag([m4_linkpage(M4RELDIR/ref/build_unix/conf,--enable-debug_rop, --enable-debug_rop)], [dnlBuild m4_db with read-operation logging.])m4_tag([m4_linkpage(M4RELDIR/ref/build_unix/conf,--enable-debug_wop, --enable-debug_wop)], [dnlBuild m4_db with write-operation logging.])m4_tag([m4_linkpage(M4RELDIR/ref/build_unix/conf,--enable-diagnostic, --enable-diagnostic)], [dnlBuild m4_db with run-time debugging checks.])m4_tagendm4_p([dnlIn addition, static libraries are usually smaller than shared libraries.By default m4_db will build both shared and static libraries. To buildonly a static library, configure m4_db with them4_linkpage(M4RELDIR/ref/build_unix/conf, --disable-shared) option.])m4_p([dnlThe size of the m4_db library varies depending on the compiler, machinearchitecture, and configuration options. As an estimate, productionm4_db libraries built with GNU gcc version 3.X compilers have footprintsin the range of 400KB to 900KB on 32-bit x86 architectures, and in therange of 500KB to 1MB on 64-bit x86 architectures.])m4_p([dnlFor assistance in further reducing the size of the m4_db library, or inbuilding small memory footprint libraries on other systems, pleasecontact m4_db support.])m4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -