Compiling Mame32 with MinGW

 

*       Download the MinGW package from Mame.net.
http://www.mame.net/downmain.html
Extract the contents of the file, allowing directories to be created.  Add the \MinGW\bin directory to the environment path via autoexec.bat or control panel • system • advanced.

*       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 Mame32 source.
http://www.classicgaming.com/mame32qa/down.htm
Extract the contents of the file, allowing directories to be created.
Overlay the Mame32 directory structure [and subs] onto the baseline Mame directory.

To compile with MinGW move the contents of the Mame32 source \htmlhelp directory to their appropriate MingW directories from the fist step.

htmlhelp.h to \MinGW\include\

htmlhelp.lib to \MinGW\lib\

 

*       Compile with 'make.exe WINUI=1 SUFFIX=32', Note: case makes a difference.
 

PS - if compiling with MinGW, to alleviate slowdown in the GUI when using zipped icons, it is necessary to alter src\windows\windows.mak and comment out the winalloc.c. guard pages.  After commenting, it should now look like:

 

# uncomment this line to enable guard pages on all memory allocations

# OSOBJS += $(OBJ)/windows/winalloc.o

Compiling Mame32 with Microsoft Visual Studio

http://www.vcmame.net/

 

Resources for compiling questions:

Mame Compiling Message Board

 

2003-03-09 01:19 PM -0800