Sign in Join

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

Mailing lists / fpc-devel / 2002-11

BeOS and multithreading

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Carl Eric Codere
Show quoted text 9 lines
Threadsafe is important for us (befpc team) in the futur : BeOS GUI are multi-threaded, even the smallest ones. I have a question : Is someone has tried to compile the 1.1 version on BeOS ? We are trying to compile the 1.1 version. But, it seems that the BeOS specific1.06 units are more complete than the 1.1 ones. Are we right ?

Greetings,
Absolutely, I've not yet ported the 1.1 compiler to BeOS, I'm even surprised you can actually compile the compiler for the BeOS target!! There are several reasons why i did not do this yet:

- the compiler is not stable yet. (There are still big changes, which might affect several targets)
- the posix rtl is being redesigned (this is the base for porting BeOS), and
as long this is not complete, its not very useful to create a fake RTL just for BeOS.

As soon as these two things are done I'll try to port BeOS to 1.1 (this might take at least 6 months still though!)...

Reply by email

Florian Klaempfl
to Carl Eric Codere
you wrote 13 lines
>Threadsafe is important for us (befpc team) in the futur : BeOS GUI are >multi-threaded, even the smallest ones. >I have a question : Is someone has tried to compile the 1.1 version on >BeOS ? >We are trying to compile the 1.1 version. But, it seems that the BeOS >specific1.06 units are more complete than the 1.1 ones. Are we right ? Greetings, Absolutely, I've not yet ported the 1.1 compiler to BeOS, I'm even surprised you can actually compile the compiler for the BeOS target!!

What should be the problem with it??

There are several reasons why i did not do this yet: - the compiler is not stable yet. (There are still big changes, which might affect several targets)

But it doesn't affect the rtl.

- the posix rtl is being redesigned (this is the base for porting BeOS), and as long this is not complete, its not very useful to create a fake RTL just for BeOS.

It should be very easy to merge the 1.0.x changes into 1.1.

Reply by email

Marco van de Voort
to Florian Klaempfl
Show quoted text 7 lines
>- the posix rtl is being redesigned (this is the base for porting BeOS), >and > as long this is not complete, its not very useful to create a fake RTL >just for BeOS. It should be very easy to merge the 1.0.x changes into 1.1.

Please don't touch the posix/ directory. It is actively used by BSD (and very soon Linux).

I've been busier than I thought this week, but tonight and tomorrow I'm free.

I'll do the Linux RTL in 3 stages:

1 System unit
2 Posix unit
3 unix unit
4 other units (IPC etc)

Steps 3 and 4 need to be done for BSD too.

These steps are near orthongonal, and don't effect eachother much. I'll test and then commit after each step.

Reply by email

Olivier Coursiere

Hi,

Absolutely, I've not yet ported the 1.1 compiler to BeOS,

I'm

even surprised you can actually compile the compiler for the BeOS

target!!

There is no magic : the 1.1 compiler can not be compiled yet because the BeOS RTL don't compile !
We just try "make beoszip" and at each error, we try a quick and dirty fix to go to the next one.

Reply by email

Florian Klaempfl
to Olivier Coursiere
you wrote 11 lines
Hi, > Absolutely, I've not yet ported the 1.1 compiler to BeOS, I'm >even surprised you can actually compile the compiler for the BeOS target!! There is no magic : the 1.1 compiler can not be compiled yet because the BeOS RTL don't compile ! We just try "make beoszip" and at each error, we try a quick and dirty fix to go to the next one.

If you report the problems here, I'am sure we can help you and find a real solution ...

Reply by email