Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-03

Fpc running in Zeta?

12 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luiz Americo Pereira Camara

The Pixel editor, which is compiled with fpc AFAIK, is available to Zeta OS.

Does fpc runs in Zeta? (Or maybe he is using another compiler?) Someone has info about this?

Luiz

Reply by email

Daniël Mantione
to Luiz Americo Pereira Camara

Op Tue, 27 Mar 2007, schreef Luiz Americo Pereira Camara:

The Pixel editor, which is compiled with fpc AFAIK, is available to Zeta OS. Does fpc runs in Zeta? (Or maybe he is using another compiler?) Someone has info about this?

Free Pascal 1.0.10 was released with a Beos-port, developed by Carl Eric Codère. However, Carl stopped with FPC development, and nobody took over, so the Beo-port had to be discontinued.

Daniël

Reply by email

Matt Emson
to Daniël Mantione
Free Pascal 1.0.10 was released with a Beos-port, developed by Carl Eric Codère. However, Carl stopped with FPC development, and nobody took over, so the Beo-port had to be discontinued.

Not to contradict you, but version 2.11 is available from here: http://bebits.com/app/4321 (which basically links to the BeFPC souceforge file repo.)

Olivier Coursiere maintained a port after Carl stopped producung them.

I have no idea which version Pixel uses, as it uses its own widget set anyway, so theoretically should run with most versions that are at a suitable feature set. Pixel's development team were extremely underhanded in the past and took people's money (on the BeOS platform) and thengave little to show for it. Definately not the right thing to do. Only recently (with in the last 2 years) is Pixel even usable on BeOS/Zeta.

Reply by email

Olivier Coursiere
to Matt Emson

Hi !

Matt Emson wrote 11 lines
> Free Pascal 1.0.10 was released with a Beos-port, developed by Carl Eric > Codère. However, Carl stopped with FPC development, and nobody took over, > so the Beo-port had to be discontinued. > Not to contradict you, but version 2.11 is available from here: http://bebits.com/app/4321 (which basically links to the BeFPC souceforge file repo.) Olivier Coursiere maintained a port after Carl stopped producung them.

This 2.1.1 version is not an officially maintained port. It is a quick port of the "new" RTL (it was new at that time...). This version is based on libc functions instead of system calls used in older versions. I still have to find some time to update and submit a patch to include this in the official source repository. But, from my point of view, it still need some cleanup before. The port is quite ugly. It is not really a problem for BeOS specific units (who cares ? ;-), but i use some BEOS IFDEFs in some key units like "unix" to avoid problems with unsupported libc functions.

Show quoted text 7 lines
I have no idea which version Pixel uses, as it uses its own widget set anyway, so theoretically should run with most versions that are at a suitable feature set. Pixel's development team were extremely underhanded in the past and took people's money (on the BeOS platform) and thengave little to show for it. Definately not the right thing to do. Only recently (with in the last 2 years) is Pixel even usable on BeOS/Zeta.

I suppose Pixel use this version under BeOS/Zeta as Pavel Kanzelsberger has made some packaging to include it in Zeta (see ).

Olivier

Reply by email

Marco van de Voort
to Olivier Coursiere
Show quoted text 15 lines
Matt Emson a ?crit : >> Free Pascal 1.0.10 was released with a Beos-port, developed by Carl Eric >> Cod?re. However, Carl stopped with FPC development, and nobody took over, >> so the Beo-port had to be discontinued. >> > > Not to contradict you, but version 2.11 is available from here: > http://bebits.com/app/4321 (which basically links to the BeFPC souceforge > file repo.) > > Olivier Coursiere maintained a port after Carl stopped producung them. > This 2.1.1 version is not an officially maintained port. It is a quick port of the "new" RTL (it was new at that time...). This version is based on libc functions instead of system calls used in older versions.

What is the exact status of Zeta ? Is a free version available, and can it be run in one of the virtualisation suits?

Reply by email

Matt Emson
to Marco van de Voort
What is the exact status of Zeta ? Is a free version available, and can it be run in one of the virtualisation suits?

BeOS, yes. Zeta no. The difference is in the API. However, at some point fairly soon, Zeta moves from GCC 2.95 to GCC 4, so a lot of things will break and be in a flux. Haiku would be a better basis, however Haiku is not stable enough to support such a thing. BeOS is your best option currently. On an API level, current Zeta is fairly compatible with BeOS, so a BeOS compiler would work for Zeta.

M

Reply by email

Matt Emson
to Felipe Monteiro de Carvalho
But is there such a thing as a free download of beos?

BeOS R5 PE - runs from a 500MB virtual partition - http://bebits.com/app/2680
BeOS MAX - installs to a hard disk, a new version is in BETA - http://bebits.com/app/3892

MAX is your best bet. BeOS is quite picky with hardware though. Mainly because it hasn't been commercially developed since 1999/2000. If something doesn't work, it's either because it's not supported, there's some kind of IRQ conflict, you're motherboard is pretending to be "Plug and play" (turn it off if you have the option) or your missing a driver. In the latter case, a quick look on BeBits usually finds whether or not you're in luck.

I'd be willing to help someone get the build environment set-up. I can offer advice etc. I don't have an intel BeOS machine at the moment, so I can't help with compilation. All my Be boxes (Mac and BeBox) are PowerPC. As porting FPC to BeOS for PowerPC is impossible, I'll not dwell on that ;-)

M

Reply by email

Matt Emson
to Felipe Monteiro de Carvalho
The wikipedia article about zeta doesn´t look very promissing: http://en.wikipedia.org/wiki/Magnussoft_ZETA

That's a bit political thing. Bernd Kortz is the guy that licensed the code from Palmsource/Access. He's the guy we need to worry about ;-)

> As porting FPC to BeOS for PowerPC is impossible, I'll not dwell on that

;-)

why?

It uses Apple's PEF as its binary format, it uses Metrowerks as its C++ compiler (mwcc, mwld et al) and no assembler was ever produced (bar inline assembler.) Without an assembler, or bintools that target PEF, there's simply no way to make FPC work natively. Interestingly, the C++ ABI is the same as the one Apple Mac's use (seemingly) as least with Metrowerks tools. If Metrowerks ever released a Codewarrior MWOB binary objectfile compatible assembler in source form, porting it would be fairly simple and I guess it would make an FPC port more likely.

I ran some tests a few years ago, and Metrowerks CW 9 (latest version I have - runs under MacOS X) and Metrowerks CW 6 both produce valid BeOS executables if you use the Be headers and libs (copied to MacOS obviously.) I guess, it's possible to hack a command like assembler from MacOS to work, but I wouldn't like to try to do it... Some kind of compatibility lib might work with *a lot* of work.

BeOS for PPC is a dead end though. Not worth the effort. Maybe in my retirement in 30 odd years ;-)

M

Reply by email

Felipe Monteiro de Carvalho
to Matt Emson
Matt Emson wrote
It uses Apple's PEF as its binary format, it uses Metrowerks as its C++ compiler (mwcc, mwld et al) and no assembler was ever produced (bar inline assembler.)

Lol!!! That´s exactly the same problem I faced with the symbian os emulator.

What´s wrong with codewarrior? They don´t like to release assemblers???

Felipe Monteiro de Carvalho

Reply by email