Pre-built Allegro libraries for DJGPP GCC 4.9, 5.x (Developers)
I managed to compile the Allegro Game Library (and its official addons) with a DJGPP cross-compiler, available from here.
For DJGPP GCC 4.9:
http://www.mediafire.com/file/4iuhtnvi61f7pn3/allegro-dev-djgpp-gcc-4.9.2.tar.bz2
DJGPP GCC 5.x:
http://www.mediafire.com/file/7y15pzvdwpm36jm/allegro-dev-djgpp-gcc-5.4.0.tar.bz2
These packages include:
-Allegro 4.2.3.1 (latest with DOS support)
-logg 2.9 (OGG Vorbis loading addon)
-loadpng 1.5 (PNG image support)
-jpgalleg 2.6 (JPG/JPEG image support)
-libogg 1.3.2
-libvorbis 1.3.5 (vorbis, vorbisfile and vorbisenc)
-libpng 1.2.56
-zlib 1.2.8
Plus the 4.9 file has some extras:
-AllegroPNG 1.3 (similar to loadpng, but stand-alone, independent from libpng and zlib)
-AllegroMP3 2.0.4 (untested, but compilation was easy)
I don't know if the 4.9 libraries also work on 5, or vice-versa, but I compiled one for each version anyway.
Programs using these libs seem to work fine on DOSBox and other low-level emus.
Tested in C mode with gcc. g++ in 5.4 gave me "redefinition" errors about a "fix" class, which I don't know how to solve yet.
Complete thread:
- Pre-built Allegro libraries for DJGPP GCC 4.9, 5.x - eliasYFGM, 20.11.2016, 04:34 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Pre-built Allegro libraries for DJGPP GCC 4.9, 5.x - RayeR, 21.11.2016, 20:04
- Pre-built Allegro libraries for DJGPP GCC 4.9, 5.x - Oso2k, 27.11.2016, 02:10
- Pre-built Allegro libraries for DJGPP GCC 4.9, 5.x - rr, 27.11.2016, 14:05
Mix view