[fpc-pascal]Can I program a linux device driver with fpc?

Michael Van Canneyt michael.vancanneyt at wisa.be
Mon Mar 17 09:22:31 CET 2003


On Mon, 17 Mar 2003, milimeter wrote:

> Hello, everybody
>
>   Is there any possibility that we write a linux device driver with fpc? If we
> can, how?

In theory it is possible. In practice, this has never been done.
You would have to write a 'kernel-rtl' i.e. a RTL (system unit)
which maps all basic functions (read/write/memory) to kernel
functions. Then you can write a device driver using this RTL.

Michael.




More information about the fpc-pascal mailing list