next up previous contents
Next: Configuration variables Up: Configuring LiDIA Previous: Configuring LiDIA

Creating a new configuration file

 

  Before building LiDIA on a Unix system you must create a configuration file for your system:

C.0
[Change directory] Change to the directory LiDIA/config, i.e., type in: cd /usr/local/LiDIA/config

C.1
[Configure] Run the configure script, i.e., type in: configure

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.

C.2
[End]

*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:

OS.0
[Change directory] Change to the directory LiDIA, i.e., type in: d:
cd LiDIA

OS.1
[Configure] Type in: make os2

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).

OS.2
[End]

*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_kernelARITHIntel486 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.



LiDIA Administrator
Thu Aug 10 16:41:08 MET DST 1995