Go to the first, previous, next, last section, table of contents.
To configure, compile, and install the library, follow these steps
carefully.
- Make sure you have the latest version of the library available
from the home page http://256.com/sources/diskheap/.
- Type sh ./configure to configure the library. You may want
to first examine the `config.help' file for some information about
configure. sh ./configure --help lists the available options to
configure. Configure should generate the `Makefile' and
configuration files automatically.
- You may want to examine the `Makefile' and `conf.h' files
created by configure to make sure it did its job correctly.
- Typing make should be enough to build the `libdiskheap.a'
library. If it does not work and you figure your problem out, please
send me some notes so future users can profit from your experiences.
- Typing make light should build and run the `diskheap_t' test
program through a set of light trials. By default this will execute
`diskheap_t' 5 times -- each time will execute 1000 Diskheap
operations in a very random manner. Anal folks can type make
heavy to up the ante. Use diskheap_t --usage for the list of all
`diskheap_t' options.
- Typing make install should install the `libdiskheap.a'
library in `/usr/local/lib' and the `diskheap.h' include file
in `/usr/local/include'. You may have specified a
`--prefix=PATH' option to configure in which case `/usr/local'
will have been replaced with `PATH'.
Go to the first, previous, next, last section, table of contents.
Diskheap Home Page. Copyright 2002 by Gray Watson