GNU Autoconf, Automake, and Libtool
| A Libtool library is built from Libtool objects in the same way that a native (non-Libtool) library is built from native objects. Building a Libtool library with libtool does on your machine, put the following code in a file `hello.c' , in a directory of its own, and run the example shell commands from there:
The traditional way to make a (native) static library is as follows :
Notice that even when I just want to build an old static archive, I need to know that, in common with most Unices, I have to bless (14) my library with Essentially, Libtool supports the building of three types of library: shared libraries; static libraries; and convenience libraries. In the following sections I will talk about each in turn , but first you will need to understand how to create and use position independent code, as explained in the next section. |
This document was generated by Gary V. Vaughan on May, 24 2001 using texi2html
Категории