- Online Community Forums » Allegro Development » Allegro Platforms

This thread is locked; no one can reply to it. rss feed Print
Allegro Platforms
Member #14,404
June 2012

Hi everyone,

I was wondering what platforms (PC, Mac, iPhone, Android, XBOX 360, etc)
Allegro can be ported to?


TwilightRaven Games

Eric Johnson
Member #14,841
January 2013

Allegro 5 supports Linux, Windows, Mac, iOS, and Android. There may be a few others, but those are the main ones. It is theoretically possible that Allegro could be ported to any number of platforms, however.

Member #14,404
June 2012

Could you point me in the direction of some resources for porting to other platforms than windows

TwilightRaven Games

Chris Katko
Member #1,881
January 2002

It really depends on how many operating system specific things you've done.

If all you're using is Allegro functions, it's pretty easy. You just have to make sure you're using cross-platform file access functions (or simply change the / to \ in the directories mentioned in your strings.)

There's no DirectX outside Windows. (Of course)

Things like that.

But if you're using all kinds of Windows and/or DirectX specific functions, you're gonna need some patience.

- You may run into driver specific issues, however. ALSA or PulseAudio in Linux, for example, may have a "quirk" that you relied on NOT being there with DirectX when you wrote your Windows version. (Or vice versa, you relied on the quirk OF DirectX that doesn't exist in other drivers.) But you'll only know when you get there.

“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs

Go to: