RetroBASIC

Retrogamecoding(.org) => EGSL => Topic started by: lelldorin on November 27, 2013, 06:01:58 PM

Title: How to compile EGSL on Haiku
Post 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
Title: Re: How to compile EGSL on Haiku
Post by: Cybermonkey on November 27, 2013, 08:49:10 PM
What is the ouput of FPC (error messages)? I have always compiled with
Code: [Select]
fpc egsl.pas -Sd (which is the same as "-Mdelphi")
Title: Re: How to compile EGSL on Haiku
Post by: lelldorin on November 28, 2013, 06:01:36 PM
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
Title: Re: How to compile EGSL on Haiku
Post by: Cybermonkey on November 28, 2013, 08:43:58 PM
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?
Title: Re: How to compile EGSL on Haiku
Post by: lelldorin on December 02, 2013, 06:14:31 PM
From there you get free pascale and that varsion you used?

I does not get compiled the actual version on Haiku
Title: Re: How to compile EGSL on Haiku
Post by: Cybermonkey on December 02, 2013, 08:34:20 PM
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
Code: [Select]
sh install.shDon't forget the first "sh".
Title: Re: How to compile EGSL on Haiku
Post by: lelldorin on December 06, 2013, 06:32:41 PM
I have installed that version yu are post, but the same error message  :(
Title: Re: How to compile EGSL on Haiku
Post by: Cybermonkey on December 06, 2013, 06:42:09 PM
Hm, okay, what happens if you compile this very simple program:
Code: [Select]
program hello;

uses crt;

BEGIN
writeln ('Hello World');

END.