

	lfcbase - Lemke Foundation Classes
	----------------------------------
	A collection of basic c++ classes

	(C)opyright 2000-2021 by Bjoern Lemke

	This software comes under the GNU general public license


Requirements
------------
To build the base library, you need a c++-compiler ( g++ ) in any unix environment.
The library should be able to compile on any POSIX unix platform.

Tested platforms
-------------
Mac OS X 10.4.5
Solaris 9 / 10
FreeBSD 5.4
HP/UX 10.x
Windows ( MinGW/MSYS)

Tested compilers
--------------
g++ ( 3.x, 4.x )
clang 4.2
Forte C++

Installation
------------
Run the configure script with the following options

    ./configure --prefix=<prefix-dir>

where prefix-dir is the location directory where header files and the library should be installed.

For 64bit compile, you have to set the CFLAGS variable

    $ export ac_cv_func_malloc_0_nonnull=yes
    $ ./configure --prefix=<prefix-dir> CFLAGS=-m64 LDFLAGS=-m64

where -m64 is the valid compile option vor GNU gcc.
The ac_cv_func_malloc_0_nonnull variable must be set, to fix an autoconf problem with rpl_malloc   

For Forte C compiles ( Sun Solaris ), you should specify
 
    $ ./configure --prefix=<prefix-dir> CFLAGS=-xarch=v9 LDFLAGS=-xarch=v9 SHLIBOPT=-G

Run make

    $ make

This builds the base library libbase.a and the corresponding shared library. You can install
the libraries with all required header files using the install command

    $ make install

Testing
-------
In the sample directory, some sample programs are provided to test the 
base class collection. You can build the samples with the command

     $ make check 
  
Documentation
-------------
See the source code and the sample implemention for the usage of the classes
