Before building LiDIA on a Unix system you must create a configuration file for your system:
This will create a CONFIG and a config.h file. CONFIG contains information such as compiler name, paths and system characteristics. It is included by all LiDIA 's makefiles. config.h contains useful macros that can be used by every LiDIA program to achieve more mchine independence. It is included by the root include file lidia.h.
*NOTE*
Another way to configure LiDIA is to type make configure
in the directory UnpackDir/LiDIA, i.e., /usr/local/LiDIA
If you're running an OS/2 -- system, things are slightly simpler:
This will replace the makefile for UNIX by a makefile for OS/2. (By typing in make unix you can go back to the UNIX--makefile).
*NOTE*
By editing CONFIG.os2, you might be able to change the C/C++--Compiler
from EMX to something else like ``WATCOM C'' or ``IBM CSet''. Note
however that the assembler files for the c-kernel are written in the
special format which is used by GNU's assembler. So you also will have
to change the makefile in
srcc_kernel
ARITH
Intel486 in a
way that the (much faster !!) assembler version is not(!) used.
Moreover you probably will get some problems with include--files that
don't exist on a native OS/2 -- compiler.