RetroBASIC
Retrogamecoding(.org) => EGSL => Topic started by: lelldorin on November 27, 2013, 06:01:58 PM
-
Hello Cybermonkey,
can you tell me how to compile EGSL on Haiku OS?
The description of your compile.txt does not run:
fpc egsl.pas -Mdelphi
Greetings Lelldorin
-
What is the ouput of FPC (error messages)? I have always compiled with
fpc egsl.pas -Sd
(which is the same as "-Mdelphi")
-
Here the Error message:
fpc egsl.pas -Sd
Fatal: Can't find unit System
Fatal: Compilation aborted
Error: /boot/home/config/bin/ppc386 can't be executed, error message: Failed to execute /boot/home/config/bin/ppc386 : -1
-
Ok, it seems that FPC is not installed correctly. FPC can't find unit System which is included by default in any Pascal program. So, actually, you can't compile anything. How did you install FPC (and which version) on Haiku?
-
From there you get free pascale and that varsion you used?
I does not get compiled the actual version on Haiku
-
You do not need to compile it, download it here: http://sourceforge.net/projects/freepascal/files/Haiku/2.6.2/
One thing to mention, install it with
sh install.sh
Don't forget the first "sh".
-
I have installed that version yu are post, but the same error message :(
-
Hm, okay, what happens if you compile this very simple program:
program hello;
uses crt;
BEGIN
writeln ('Hello World');
END.