Compiling Mame:Analog+ with MinGW

(for version 0.69.1 and later)

 Download the MinGW packages from Mame.net.
http://www.mame.net/downmain.html

First install the mingw 2.0 install exe file. Next extract the contents of the mingw-over.zip file, allowing files to be written over. Add the gcc 3.2.2 update. Add the directX 7.0 headers.  Add the \MinGW\bin directory to your environment path via autoexec.bat or control panel • system • advanced.

This is the normal mame compile install. Starting with mame:Analog+ 0.69.1, Analog+ and the official mame use the same compile setup.

If you are trying to compile a version older than 0.69 of Analog+, you need to install dx 8 headers instead of mame's current dx 7.

Download the latest baseline Mame source.
http://www.mame.net/downmain.html
Extract the contents of the file, allowing directories to be created.

Download the latest Mame:Analog+ source.
http://www.urebelscum.speedhost.com/download.html
Extract the contents of the file, allowing directories to be created and overwriting all files.
Overlay the Mame:Analog+ directory structure [and subs] onto the baseline Mame directory.

Compile with 'make.exe'
If you want to compile the CPU optimized versions, add I686=1 or K6=1 as needed.(Note: case makes a difference.)

Compiling for WinXP vs Win98 & Win98
The default compile is for Win98 & winME. If you want to compile for XP with multiple mice, an extra step is needed before you do the last compile step above. You need to set WINXPANANLOG to 1; there are three ways to this.

    1. You can edit the file makefile and uncomment the line "# WINXPANANLOG = 1" by removing the "#".
    2. You can add WINXPANANLOG=1 at part of the make commandline
    3. Or you can set WINXPANANLOG=1 in autoexec.bat, another bat file you run, or from the commanline before you make.

For Further compiling info see the How to compile (Win32) page at http://www.mame.net/documents.html .