Rogue Wave banner
Previous fileTop of DocumentContentsNext file

2.5 Library Names in C++

Money.h++ libraries for Unix use this encoding scheme:

Money.h++ libraries for Windows use this encoding scheme:

Both of these schemes are explained in Table 7.

Table 7 -- C++ Library name encoding

CodeMeaning 
lib
Indicates that this is a library. (Unix only.)
mny
Indicates that this is a Money.h++ part.
<buildtype>
Indicates the build type, explained in Section 2.6.
<ext>
Indicates the extension.
  • For Windows static libraries and DLL import libraries, the extension is lib.

  • For Windows DLLs, the extension is dll.

  • For Unix, the extension naming convention varies from one platform to another. Here are some possible values:

  • .a = static library (ns.a for AIX)

    .so, .sl, etc. = shared library, depending upon the platform

Note: Always use the library binding character to determine whether a library is static or shared.

For example, if you use a Unix compiler to build a multithreaded, static library that provides symbolic debugging and assertions, and does not use the Standard C++ Library the resulting library name is:

where 7s is the build type, as described in Section 3.1.

The same library built using any compiler on Windows NT or Windows 95 is named:

Again, 7s is the build type.


Previous fileTop of DocumentContentsNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.