Main   Homepage   Status   Download Compiling   DOS version • Windows version   Link |
Compiling under Windows
1. Get MinGW
To compile Spice+ under Windows you need MinGW development environment. Like DJGPP,
you need several packages. All the files below are needed, so download them.
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 MinGW files in the same directory,
c:\mingw.
3. Setup MinGW
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:
- Readline library IMPORTANT! - Note that there may be newer versions of these files, but you need this version to use my patch. This patch is based on the file readline-4.2-20010727.zip, which is a MinGW port of GNU Readline Library. My version of the patch add Enhanced Keys (INS, DEL, HOME, END, PAGE UP, PAGE DOWN, direction keys anf function key) support.
5. Install Readline
Readline library is available in binary form, so you just have to unzip all files in
c:\mingw
preserving the subdirectory structure.
If you want to compile it you have to extract all files from readline-4.2.zip to c:\readline for example, then extract the patch from readline-4.2-patch.zip to the same directory, and type: patch -p1 < patch.dif then you can compile with make and install with make install
6. Compile Spice+
To compice Spice+ just go to its directory with
cd \spiceplus and type make |