There are really few of them, but since the source exists, I suggest that somebody ports *everything* to the DOS version of GPC, and we can make the "potentially portable" parts portable in a second stage.
What use does it have when you already have a good Dos compiler, i.e. Borland Pascal? It fullfills all my needs for the Dos environment.
Besides, what do you mean by 'porting', i.e. should do exactly the same with every quirk inherited or just similar enough?
The system unit can be implemented easily, I've done already that for 90%. A few things you can't do like Inc, and some functions which have overloaded parameters (Assign, Close, ...).
If similar is good enough, I suggest we define a POSIX interface first, starting from the one I wrote for Dos, and build the Dos unit on top of that.
We can do the Crt unit in the same manner, building on top of the curses library.
We have free sources of Borland Units (CRT, Graph, ...)
Note, you don't have the source of the Graph unit.
From my viewpoint, Borland Pascal does everything, so spending time for a Dos
only solution is not a thing I want. And it is not necessary.
And is gpc already for such projects? I see some problems with gpc as I know it: - no renaming, necessary to avoid clashing with c libraries. - qualifed imports available? - how to link with C libraries? You have the c; construct, but exactly how does it work? What does it do?
Groetjes,
Berend.