Difference between revisions of "BeOS port"

From Lazarus wiki
Jump to navigationJump to search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This page will describe the current status of the BeOS/Haiku port of FreePascal.
+
This page describes the current status of the BeOS/Haiku port of Free Pascal.
  
Here are unofficial builds needed to compile freepascal on those platforms :
+
==Current==
 +
Since FPC 2.4.0 there is official support for Haiku. The FPC release can be downloaded from [http://www.freepascal.org/down/i386/haiku.var here].
 +
 
 +
==In the past==
 +
Here are unofficial builds needed to compile Free Pascal on those platforms :
  
 
  - BeOS : [http://olivier.coursiere.free.fr/bootstrap/fpc-2.2.1.i386-beos.tar.gz fpc-2.2.1.i386-beos.tar.gz]  
 
  - BeOS : [http://olivier.coursiere.free.fr/bootstrap/fpc-2.2.1.i386-beos.tar.gz fpc-2.2.1.i386-beos.tar.gz]  
Line 8: Line 12:
 
Those compilers should compile "branches/fixes_2_2" and trunk.
 
Those compilers should compile "branches/fixes_2_2" and trunk.
  
What is missing is a specific target for haiku to use native ld included in the development package instead of a R5 one. This work is in progress. Until then, native ld could be used by replacing
+
What is missing is a specific target for haiku to use the native ld included in the development package instead of a R5 one. This work is in progress. Until then, the native ld could be used by replacing
  
 
  LinkRes.Add('elf_i386_be');
 
  LinkRes.Add('elf_i386_be');
Line 20: Line 24:
  
 
The console mode IDE should work but compiling it with gdb support is more complicated (you will need to collect a lot of static libraries from the haiku build : libgdb.a and all its dependencies...).
 
The console mode IDE should work but compiling it with gdb support is more complicated (you will need to collect a lot of static libraries from the haiku build : libgdb.a and all its dependencies...).
 +
 +
Here is a snapshot of fpc 2.3.1 for Haiku (revision 11134) : [http://olivier.coursiere.free.fr/download/fpc-2.3.1.i386-haiku.tar.gz fpc-2.3.1.i386-haiku.tar.gz]
 +
 +
This snapshot contains the text mode IDE compiled with debugging support.
 +
 +
[[Category: Operating Systems and Platforms]]

Latest revision as of 21:57, 6 April 2013

This page describes the current status of the BeOS/Haiku port of Free Pascal.

Current

Since FPC 2.4.0 there is official support for Haiku. The FPC release can be downloaded from here.

In the past

Here are unofficial builds needed to compile Free Pascal on those platforms :

- BeOS : fpc-2.2.1.i386-beos.tar.gz 
- Haiku : fpc-2.2.1.i386-haiku.tar.gz 

Those compilers should compile "branches/fixes_2_2" and trunk.

What is missing is a specific target for haiku to use the native ld included in the development package instead of a R5 one. This work is in progress. Until then, the native ld could be used by replacing

LinkRes.Add('elf_i386_be');

by

LinkRes.Add('elf_i386_haiku');

in compiler/systems/t_beos.pas when compiling under Haiku.


The console mode IDE should work but compiling it with gdb support is more complicated (you will need to collect a lot of static libraries from the haiku build : libgdb.a and all its dependencies...).

Here is a snapshot of fpc 2.3.1 for Haiku (revision 11134) : fpc-2.3.1.i386-haiku.tar.gz

This snapshot contains the text mode IDE compiled with debugging support.