📄 multiple.so
字号:
m4_comment([$Id: multiple.so,v 10.4 2004/06/10 16:39:28 bostic Exp $])m4_ref_title(System Installation Notes, Building with multiple versions of m4_db,, install/file, debug/intro)m4_p([dnlIn some cases it may be necessary to build applications which includemultiple versions of m4_db. Examples include applications which includesoftware from other vendors, or applications running on a system wherethe system C library itself uses m4_db. In such cases, the two versionsof m4_db may be incompatible, that is, they may have different externaland internal interfaces, and may even have different underlying databaseformats.])m4_p([dnlTo create a m4_db library whose symbols won't collide with other m4_dblibraries (or other application or library modules, for that matter),configure m4_db using the m4_linkpage(M4RELDIR/ref/build_unix/conf,--with-uniquename=NAME, --with-uniquename=NAME) configuration option,and then build m4_db as usual. (Note thatm4_linkpage(M4RELDIR/ref/build_unix/conf, --with-uniquename=NAME,--with-uniquename) only affects the m4_db C language library build;loading multiple versions of the C++ or Java APIs will requireadditional work.) The modified symbol names are hidden from theapplication in the m4_db header files, that is, there is no need forthe application to be aware that it is using a special library build aslong as it includes the appropriate m4_db header file.])m4_p([dnlIf "NAME" is not specified when configuring withm4_linkpage(M4RELDIR/ref/build_unix/conf, --with-uniquename=NAME,--with-uniquename), a default value built from the major and minornumbers of the m4_db release will be used. It is rarely necessary tospecify NAME; using the major and minor release numbers will ensure thatonly one copy of the library will be loaded into the application unlesstwo distinct versions really are necessary.])m4_p([dnlWhen distributing any library software that uses m4_db, or any softwarewhich will be recompiled by users for their systems, we recommend twothings: First, include the m4_db release as part of your release. Thiswill insulate your software from potential m4_db API changes as well assimplifying your coding because you will only have to code to a singleversion of the m4_db API instead of adapting at compile time to whateverversion of m4_db happens to be installed on the target system. Second,use m4_linkpage(M4RELDIR/ref/build_unix/conf, --with-uniquename=NAME,--with-uniquename) when configuring m4_db, because that will insure thatyou do not unexpectedly collide with other application code or a libraryalready installed on the target system.])m4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -