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

Sebastian G√ľnther sguenther at gmx.de
Mon Mar 17 12:23:02 CET 2003


On Mon, 2003-03-17 at 09:20, Peter Vreman wrote:

> In theory it should be possible. But you need to import and export the 
> correct kernel functions. Most of the normal RTL routines can should not be 
> used, including the heapmanager. Maybe it's better to create a minimal RTL 
> for linux kernel development.

This idea is quite interesting; but when doing kernel development, you
are even stronger dependent on the C header files, than at doing normal
development. How do you want to handle kernel structures, which don't
only depend on the kernel version, but even its configuration? Perhaps
some tweaking of h2pas will do the trick...?


- Sebastian




More information about the fpc-pascal mailing list