LIBH is a collection of functions for C programming intended to be helpful or handy for C programmers.
Many of these functions originated with various programming projects where they were needed. Other functions were then added to fill out the scope of possibilities to make a more complete selection.
LIBH is divided into a number of different logical sections. Each section is described in the columns at the right.
LIBH is currently only in the alpha development stage. A beta release is expected once the API is stablized.
1. Create an empty directory anywhere you like.
2. Change the current directory to be that empty directory.
3. Using a full path (relative or absolute), execute the
"configure" script where you extracted the source, while
the empty directory is the current directory.
This is a big script building a big Makefile so it takes
a while. Typical timings are:
30s on Pentium-III, 800 MHz, Linux 2.4 [pdh]
1m45s on Celeron, 333 MHz, Linux 2.4 [pdh]
2m30s on PPC, Powerbook G3, 333 MHz, Linux 2.4 [pflanze]
You may specify an installation target with the option:
If you do not specify an installation target, a default
in /tmp is used with the name of the package, such as:
4. Do: make
Typical timings are:
5m on Pentium-III, 800 MHz, gcc 3.2.2, Linux 2.4 [pdh]
14m on Celeron, 333 MHz, gcc 3.2.2, Linux 2.4 [pdh]
13m30s on PPC, Powerbook G3, 333 MHz, gcc 2.95.4, Linux 2.4 [pflanze]
5. If all goes well, then do: make install
There are some other options you may use on configure, such as:
More verbose output during execution of configure.
Specify the location of the source files if it cannot be
determined from the script name path.
Set the compiler optimization for all compiles.
The default is 2.
Build all executable programs with dynamic linking to all
libraries (not just system libraries).
Build all executable programs with static linking to all
libraries (not just the libraries built here).
Do not build the static linking object archive library.
Do not build the dynamic linking share object library.
Produce assembly output as .s files in the same subdirectories
that the .o files are produced in.