Imported Upstream version 2.4.2
[platform/upstream/libtool.git] / tests / mdemo / README
1 This is mdemo, an example package that uses GNU libtool with an
2 Automake-generated environment to build two simple modules and 
3 a program.
4
5 It demonstrates how to build both dynamic and static libraries
6 that can be dlopened. mdemo uses libtool's portable dlopen
7 wrapper called "libltdl". 
8 All exported symbols are prefixed with "libname_LTX_" to avoid
9 symbols conflicts, especially when linking statically.
10 libltdl will automatically cut the prefix off to get the real name.
11
12 Note that on Windows, for the purposes of illustrating ltdl, the
13 libraries *are* built as dll's, but do not have the __declspec
14 machinery to make them suitable for loading at link time.  This is
15 only for clarity inside this example, look at the example in ../demo
16 to see how the __declspec macros should be set up.
17