Ok,
For everything I have done so far, and for compiling your examples, fpc source.pas -ap has worked fine.
I installed fpc with sudo apt-get install fpc. It took about fifteen minutes I think.
(I then tried to install Lazarus the same way, but I accidentally cut the power during the install (it had already taken about 30 minutes). I tried tons of removes and reinstalls, and once I got it to start, but it came up with loads of missing package files. Since, I haven't even been able to open it and have more or less given up.)
Back to allegro.pas ...
I installed allegro with a sudo apt-get install allegro . I then downloaded the allegro.pas file and extracted it to my folder. For some reason the fix.sh script did not work, so I had to manually add target.os, which I wrote TARGET=linux in (I might have got the caps wrong ... I will check later.)
EDIT: yep, i got the caps wrong, I actually had target=LINUX in the target.os file.
Anyway, after adding the target.os file, the make command ran fine.
to be continued... gtg
Bookmarks