Hello, all

At the present time I'm working on the new RTL wich will be fully campatible with FPC 
and SPC. As a base I use FPC RTL and add SPC related changes. All ULONG, 
USHORT, etc. definetins will be removed, because this is C-ism. All SPC constants will 
be added to FPC RTL if such constant not present yet. Functions will be in 
FPC-style declaration (function .....; cdecl;) and APIENTRY will be removed. If 
records have various fieldnames than variable records will be used. If SPC function 
not a 
same as FPC, then function overloading will be used. Well... By default used FPC 
function declaration, not SPC. All units will be tested for success FPC/SPC 
compilation.

New structure is

BSEDOS.PAS includes
    DOSCALLS.INC              {All functions from DOSCALL.DLL}
    NLS.INC                             {All functions from NLS.DLL}
    ...

BSETIB.PAS includes
    TIB.INC                             {Thread information block structures}

DOSCALLS.PAS includes
    DOSCALLS.INC              {All functions from DOSCALL.DLL}
    NLS.INC                             {All functions from NLS.DLL}
    TIB.INC                             {Thread information block structures}
     ...

BSEDOS.PAS wil contain something like this

unit bsedos;
interface
{$define interface}
{$I doscalls.inc}
{$i nls.inc}
{$undef interface}

implementation

{$define implementation}
{$I doscalls.inc}
{$i nls.inc}
{$undef implementation}

begin
end.

DOSCALLS.INC  will contain something like this
{$ifdef interface}
function dosbeep(freq, dur: longint): longint; cdecl;
{$endif interface}

{$ifdef implementation}
function dosbeep(freq, dur: longint): longint; cdecl; external 'DOSCALLS' index XXX;
{$endif interface}


As you see I added fpc-like units (doscalls, moucalls, etc.) and don't removed 
spc0like units (bsedos, bsetib, etc.). Now I'm talking with Tomas Hajny (fpc/2 
maintainer) 
about moving such rtl to mainstream fpc tree.

BTW, in fpc 1.1 planned to drop emx (I think they will use openwatcom binutils instead 
of emx binutils).

And, please, comment this (This is also will TODO for documenting ;-) ):
-----------------
 what's the status of the OpenSibyl project? How many (active) 
members does the team have? What were the exact license conditions 
for the original Sibyl sources (as set by the former SpeedSoft 
owner)? I'm asking so, because I know he made the sources available 
for download, but I have never seen any document describing the legal 
status of these sources. What are the license conditions for the 
current sources (including your OS/2 units)? Are there any WWW pages 
I could have a look at? Are the current sources available for 
download from somewhere (e.g. the Netlabs' CVS server)?
------------

Bye



-----------
To unsubscribe yourself from this list, send the following message
to [EMAIL PROTECTED]

     unsubscribe sibyl
     end

Reply via email to