This version has been tested on Linux and BeOS, using gcc. The distribution is contained in the tared-gzipped file interpcom-2.3.tar.gz. First you can give the following commands
gunzip interpcom-2.3.tar.gz tar xvf interpcom.tar
or
tar zxvf interpcom-2.3.tar.gz
to extract the distribution. It will be contained in the directory ./interpcom-2.3 . On Linux first check the makefile to choose which command line editing library to use, and the optimizations. Then type make in this directory to see the following options :
Options for make : static-threads : static library with thread support static-nothreads : static library with no thread support static : the two static libraries shared-threads : shared library with thread support shared-nothreads : shared library with no thread support shared : the two shared libraries threads : the static and shared libraries with thread support nothreads : the static and shared libraries with no thread support tests : the minimal applications world : the libraries with thread support and tests clean : deletes the object files clean-all : deletes the object files, the libraries and the executables install-threads : installs the libraries with thread support install-nothreads : installs the libraries with no thread support
The nothreads options will build libraries with no thread support. They must be used for programs using X11 libraries with libc5. The install options will put the corresponding static and shared libraries in the directory /usr/local/lib and make the appropriate links. The include file interp.h will be copied in /usr/local/include and interp_convert in /usr/local/bin.
The directory test/extra contains minimal applications using supplementary expression evaluators. Some of them require additional libraries (cf. 7.6.2).
On BeOS the makefile makefile.BeOS should be used, i.e. enter the command
make -f Makefiles/makefile.BeOS
The library has been compiled successfully with Microsoft Visual C++ version 6.0 and Borland C++ version 5.5. You have just to use all the 8 C source files in the interpcom-2.3 directory. Don't forget to define _ENG_LANG. You will obtain the library with no thread support. To make a sample application you can use the main.c file in the directory interpcom-2.3/test. To run correctly, the executable must be in this directory.
Project/workspace files are provided for Visual C++, and for Borland C++ the batch file comp_bcc.bat may be used.