This version has been tested on Linux and BeOS, using gcc. The distribution is contained in the tared-gzipped file interpcom-2.4.tar.gz. First you can give the following commands
gunzip interpcom-2.4.tar.gz tar xvf interpcom.tar
or
tar zxvf interpcom-2.4.tar.gz
to extract the distribution. It will be contained in the directory ./interpcom-2.4 . 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 : 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 : installs the libraries with thread support
The install option 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.4 directory. Don't forget to define _ENG_LANG or _FR_LANG (cf. 2.3). 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.4/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.
The messages produced by the command interpreter will be in English if _ENG_LANG is defined and in French if _FR_LANG is. It is very easy to add new languages (see the file messg.c).