BeOS port: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 1 | + | This page describes the current status of the BeOS/Haiku port of Free Pascal. | |
| 2 | 2 | ||
| 3 | 3 | ## Current | |
| 4 | 4 | ||
| 5 | - | ||
| 5 | + | Since FPC 2.4.0 there is official support for Haiku. The FPC release can be downloaded from [here](<http://www.freepascal.org/down/i386/haiku.var>). | |
| 6 | 6 | ||
| 7 | 7 | ## In the past | |
| 8 | 8 | ||
| 9 | - | ||
| 10 | - | ||
| 11 | - | ||
| 12 | - | ||
| 13 | - | ||
| 14 | - | ||
| 15 | - | ||
| 16 | - | ||
| 9 | + | Here are unofficial builds needed to compile Free Pascal on those platforms : | |
| 10 | + | ``` | |
| 11 | + | - BeOS : [fpc-2.2.1.i386-beos.tar.gz](<http://olivier.coursiere.free.fr/bootstrap/fpc-2.2.1.i386-beos.tar.gz>) | |
| 12 | + | - Haiku : [fpc-2.2.1.i386-haiku.tar.gz](<http://olivier.coursiere.free.fr/bootstrap/fpc-2.2.1.i386-haiku.tar.gz>) | |
| 13 | + | ``` | |
| 17 | 14 | ||
| 18 | - | ||
| 15 | + | Those compilers should compile "branches/fixes_2_2" and trunk. | |
| 19 | 16 | ||
| 20 | - | ||
| 17 | + | 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 | |
| 18 | + | ``` | |
| 19 | + | LinkRes.Add('elf_i386_be'); | |
| 20 | + | ``` | |
| 21 | 21 | ||
| 22 | - | ||
| 22 | + | by | |
| 23 | + | ``` | |
| 24 | + | LinkRes.Add('elf_i386_haiku'); | |
| 25 | + | ``` | |
| 23 | 26 | ||
| 24 | - | ||
| 27 | + | in compiler/systems/t_beos.pas when compiling under Haiku. | |
| 25 | 28 | ||
| 26 | - | ||
| 29 | + | ||
| 30 | + | 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...). | |
| 27 | 31 | ||
| 28 | - | ||
| 32 | + | Here is a snapshot of fpc 2.3.1 for Haiku (revision 11134) : [fpc-2.3.1.i386-haiku.tar.gz](<http://olivier.coursiere.free.fr/download/fpc-2.3.1.i386-haiku.tar.gz>) | |
| 29 | 33 | ||
| 30 | 34 | This snapshot contains the text mode IDE compiled with debugging support. | |
| 31 | 35 | ||
| 32 | 36 | --- | |
| 33 | - | ||
| 34 | - | ||
| 37 | + | *From the Free Pascal wiki, page "BeOS port", as the Internet Archive kept it on 2024-01-16. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
