I am supposed to learn enough libtool and autotools to package our current library and utilities in a “do it right” way. Some of my favourite things about this task so far:
- From the libtool manual:
But of course, that would be too simple, so many systems require that you run the ranlib command on the resulting library (to give it better karma, or something)
- There’s a libtool demo of a trivial Hello World program & library packaged with autotools.
configure.ac
andMakefile.am
are about 250 lines put together. - The program part of the demo is called “hello”, but the library is called “hell”