Sign in Join

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

Mailing lists / fpc-devel / 2007-08

Some more work on the BeOS port

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Olivier Coursiere

Hi all,

This summer i took some time to run the testsuite on my BeOS version. It help me fix a lot of bugs. Some of then were even preventing me from running tests.

I also made some cleanup in the BeOS rtl by removing 5 include files in the BeOS directory (osposixh.inc, unxsysch.inc, unxsysc.inc, sysfile.inc and sysdir.inc). Those files came from older versions or didn't need to be BeOS specific anymore in the libc based RTL.

Here is a patch containing the result of this work : http://olivier.coursiere.free.fr/diff/fpc_beos_r8298.zip

This zip file contains 4 files :
- rtl.diff : contains differences with revision 8298 (trunk/rtl directory)
- packages.diff : contains differences with revision 8298 (trunk/packages directory)
- tests.diff : contains differences with revision 8298 (trunk/tests directory)
- tests_test_cg_obj_beos.zip : contains the objects files compiled with gcc under BeOS needed by some test cases.

With this patch i have less than 50 failed test cases. Most of then are related to threads or shared object generation.

Regards,

Olivier

Reply by email

Michael Van Canneyt
to Olivier Coursiere
Olivier Coursiere wrote 23 lines
Hi all, This summer i took some time to run the testsuite on my BeOS version. It help me fix a lot of bugs. Some of then were even preventing me from running tests. I also made some cleanup in the BeOS rtl by removing 5 include files in the BeOS directory (osposixh.inc, unxsysch.inc, unxsysc.inc, sysfile.inc and sysdir.inc). Those files came from older versions or didn't need to be BeOS specific anymore in the libc based RTL. Here is a patch containing the result of this work : http://olivier.coursiere.free.fr/diff/fpc_beos_r8298.zip This zip file contains 4 files : - rtl.diff : contains differences with revision 8298 (trunk/rtl directory) - packages.diff : contains differences with revision 8298 (trunk/packages directory) - tests.diff : contains differences with revision 8298 (trunk/tests directory) - tests_test_cg_obj_beos.zip : contains the objects files compiled with gcc under BeOS needed by some test cases. With this patch i have less than 50 failed test cases. Most of then are related to threads or shared object generation.

Thank you very much for this work, it's most welcome.

I'll look at applying the patches ASAP.

Michael.

Reply by email

Olivier Coursiere
to Florian Klaempfl
Florian Klaempfl wrote 7 lines
Michael Van Canneyt schrieb: > I'll look at applying the patches ASAP. > > I did so and committed, thanks for the patch.

Oups ! I have forgotten two files in my last patch :

- rtl/beos/i386/sighnd.inc
- packages/base/pthreads/pthrbeos.inc (basically a verbatim copy of the bsd one, just to compile as pthread support is limited under BeOS) and here is a new fix :
- utils/fppkg/Makefile.fpc

Here is the complete patch :
http://olivier.coursiere.free.fr/diff/beos_r8398.diff.

Reply by email