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

lelldorin

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • BeSly - Knowledge base
How to compile EGSL on Haiku
« on: 27. November 2013, 19:01:58 »
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: 27. November 2013, 19:06:57 by lelldorin »

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 680
    • View Profile
    • Home of EGSL
Re: How to compile EGSL on Haiku
« Reply #1 on: 27. November 2013, 21:49:10 »
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")
Best regards,
Cybermonkey

lelldorin

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • BeSly - Knowledge base
Re: How to compile EGSL on Haiku
« Reply #2 on: 28. November 2013, 19:01:36 »
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
  • Hero Member
  • *****
  • Posts: 680
    • View Profile
    • Home of EGSL
Re: How to compile EGSL on Haiku
« Reply #3 on: 28. November 2013, 21:43:58 »
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?
Best regards,
Cybermonkey

lelldorin

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • BeSly - Knowledge base
Re: How to compile EGSL on Haiku
« Reply #4 on: 02. December 2013, 19:14:31 »
From there you get free pascale and that varsion you used?

I does not get compiled the actual version on Haiku

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 680
    • View Profile
    • Home of EGSL
Re: How to compile EGSL on Haiku
« Reply #5 on: 02. December 2013, 21:34:20 »
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".
Best regards,
Cybermonkey

lelldorin

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • BeSly - Knowledge base
Re: How to compile EGSL on Haiku
« Reply #6 on: 06. December 2013, 19:32:41 »
I have installed that version yu are post, but the same error message  :(

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 680
    • View Profile
    • Home of EGSL
Re: How to compile EGSL on Haiku
« Reply #7 on: 06. December 2013, 19:42:09 »
Hm, okay, what happens if you compile this very simple program:
Code: [Select]
program hello;

uses crt;

BEGIN
writeln ('Hello World');

END.

Best regards,
Cybermonkey