Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Pre-built Allegro libraries for DJGPP GCC 4.9, 5.x (Developers)

posted by eliasYFGM(R), 20.11.2016, 04:34

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:

Back to the forum
Board view  Mix view
15108 Postings in 1358 Threads, 246 registered users, 13 users online (0 registered, 13 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum