Author Topic: How to compile EGSL on Haiku  (Read 3375 times)

lelldorin

  • Guest
How to compile EGSL on Haiku
« 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
« Last Edit: November 27, 2013, 06:06:57 PM by lelldorin »

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: How to compile EGSL on Haiku
« Reply #1 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")

lelldorin

  • Guest
Re: How to compile EGSL on Haiku
« Reply #2 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

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: How to compile EGSL on Haiku
« Reply #3 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?

lelldorin

  • Guest
Re: How to compile EGSL on Haiku
« Reply #4 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

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: How to compile EGSL on Haiku
« Reply #5 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".

lelldorin

  • Guest
Re: How to compile EGSL on Haiku
« Reply #6 on: December 06, 2013, 06:32:41 PM »
I have installed that version yu are post, but the same error message  :(

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: How to compile EGSL on Haiku
« Reply #7 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.