Main   Homepage   Status   Download Compiling • DOS version   Windows version   Link |
Compiling under DOS
1. Get DJGPP
To compile you need the DJGPP files. Make a new directory, for example c:\download\
and download the following files into that directory.
Note that there may be newer versions of these files, but Spice+ is not verified
to compile with any other versions of the following files.
2. Extract all files
Next, you have uncompress the DJGPP files in the same directory,
c:\djgpp.
3. Setup DJGPP
Next we will have to set up the environment variables.
Open a command prompt. You can find it either from under Start Menu - Programs, or you can simply select Run and type command.com into the dialog box. Now there are two possibilities: - modify the file autoexec.bat - create a file batch
4. Library
In order to compile Spice+ you also need the following library:
- Allegro library - Readline library Note that there may be newer versions of these files, but Spice+ is not verified to compile with any other versions of the following files:
5. Install Allegro
Unzip Allegro library in c:\djgpp, then type
cd \djgpp\allegro to go to Allegro's directory. To compile, type make After compiling you have to install the library with the command make install
6. Install Readline
Readline library is available in binary form, so you have only to unzip all files in
c:\djgpp
preserving the subdirectory structure
7. Compile Spice+
To compice Spice+ just go to its directory with
cd \spiceplus and type make OSTYPE=djgpp Note that the keyword "OSTYPE" is case sensitive. Another method is to edit the file makefile and uncomment the line # OSTYPE = djgpp Then just type make |