This is a good guide:Originally Posted by noeska
http://wiki.freepascal.org/index.php/FPC_and_SDL
My code runs on x86, I haven't tried compiling for PowerPC. Freepascal have separate installations for x86 and ppc. JEDI-SDL should work with both I think.
The only thing I needed to change in my source files was a reference to the "\"-path separator in filenames (which is "/" on Linux/OS X). Otherwise it compiled without changes. Even a tiny bit of assembler code that I have works because it is all intel-platforms. Of course I have used no Windows specific units in my code.
Bookmarks