Skip to content

Library Naming Conventions

zosrothko edited this page Sep 27, 2015 · 2 revisions

WORK IN PROGRESS

Might not be accurate yet!

Poco is running on different platforms with different naming conventions for libraries. This page summarizes how the Poco libraries are named on each platform.

Unices

Some used variables:

  • libname is the name of the library (eg. PocoFoundation)
  • debug is the debug prefix, (empty "" for release and "d" for debug)
  • osarch is 64 for 64bit systems or empty "" for 32 bit systems

Linux and most

Dynamic library

lib<libname><debug><osarch>.so.<soversion>

examples:

  • Release libPocoFoundation.so.41
  • Debug 64bit libPocoFoundationd64.so.41

Static library

??

Mac OS X

Dynamic library

lib<libname>.<soversion>.dylib

examples:

  • libPocoFoundation.41.dylib

Static library

??

Windows

Windows MSVC

Dynamic DLL

<libname><debug>.dll

examples:

  • Debug: PocoFoundationd.dll
  • Release: PocoFoundation.dll

Static lib

<libname><static_suffix><debug>.lib

examples:

  • MD debug version: PocoFoundationmdd.lib
  • MT release version: PocoFoundationmd.lib

Windows Cygwin

Shared library

cyg<libname>-<soversion>.dll

examples:

  • cygPocoFoundation-41.dll