Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

32-bit MSDOS (Announce)

posted by marcov, 05.07.2021, 10:05

> > > I think I am missing something.
> > >
> > > What is wrong with having one C90-compliant
> > > source file in FPC (or my own derivative)
> > > and then building it with hundreds of
> > > different C compilers?
> >
> > What will it actually solve? Solution in search of a problem actually.
> You
> > still have a C<->Pascal interface.
>
> The problem it will solve is that if someone has
> already implemented a C compiler on a particular
> system, FPC has a ready-made runtime library.

It doesn't work that way. If that were the case the rtl/unix dir would be empty. It only seems that way of the extremely trivial dumbed down subset that you use, but that is no problem with any scheme.

Going at it that way just shifts the pascal<-> C interface to users code, losing abstraction.

> > Of course you can go that way, but you only need to rewrite a lot of RTL
> > functions for kernel32 stuff and diverge unnecessary.
>
> I don't have to rewrite anything. It's all working
> already. The effort (27 years) has already been done
> to get the C side working.

So is the FPC runtime library. And you casually throw that away too.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 403 users online (0 registered, 403 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum