I had someone ask me how I produced the binaries. Step by step, here is how I did it.
0. Install MinGW, CMake, the June 2010 DXSDK and Git.
0a. Build dependencies for Allegro. Most build with cmake, but some like ogg, flac, vorbis, and theora need MSYS to build.
0b. Download sal.h from liballeg.org. This is necessary for compatibility with the DXSDK, which searches for sal.h. Get it here :
(This will change soon, as gna.org is closing down).
1. Clone Allegro 5 from Git. Here is the URL :
2. Unpack allegro.
3. cd allegro
4. mkdir build
5. cd build
6. cmake-gui ..
7. Press configure and select Mingw native compilers.
8. Edit CMakeCache.txt and find the line that says HAVE_STRERROR_S=1. Delete the one and leave the right hand side empty. This step is for users of the mingwrt version 3 and below. This won't be necessary once mingwrt 5 is released, as strerror_r and strerror_s are included.
9. Go back to cmake-gui and configure all the dependencies, making sure all the directories are right. Options I selected are SHARED and WANT_MONOLITH as well as the Build type which is either [Debug | Release | RelWithDebInfo | Profile]. (Tip, don't build the docs in profile mode, they take forever and hang).
10. Press generate in cmake-gui once you have your options configured.
11. Go back to the command line, making sure mingw/bin is on your path and type 'mingw32-make' and 'mingw32-make install' and it should build everything. Don't worry about the warnings. Most of them are from building as C90 instead of C99.
12. Repeat steps 9 through 11 as needed for each different build configuration desired.
If you have any problems, post here and I will try to help.