libar 0.2 review

by on

libar is a generic array implementation

License: GPL (GNU General Public License)
File size: 21K
Developer: Roland Smith
0 stars award from

libar is a generic array implementation. It is suitable for storing different bits of information of the same size. It grows as necessary.

The whole array is contained in a single memory block for easy access and efficient memory usage.

Installing the library:

Read the Makefile. Change the directory where the header-file (HDEST), libraries (LDEST) and manualpage (MANDIR) will be installed to your preferences (they should work pretty well on Linux systems).

Tip for GCC users: Set the environment variables C_INCLUDE_PATH and LIBRARY_PATH to include the locations mentioned in the makefile to help GCC find your include- and library files once you start using the library.

Do a "make all" to build the library.

Login as root, change to the source directory, and do a "make install". You might want to check beforehand that no other library/header file with the same name exists in the installation directories, *since they will be replaced*.

The istallation procedure installs both a static and a shared version of the library. If you want to link with the shared library, use `-lar' when linking. To use the static library, use `-lar'.

Removing the library:

Login as root, change to the source directory, and do a "make uninstall" to remove the shared library, header file and manual page. You can than delete the source code.

libar 0.2 search tags