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

James Mills prologic at prologitech.com
Mon Mar 17 11:07:55 CET 2003


On Mon, Mar 17, 2003 at 09:22:31AM +0100, Michael Van Canneyt wrote:
> 
> 
> 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.

Could you show us how this is done ? As I'd like to use the same
technique to use FPC for OS Development work... I have tried but without
success... Building a minimal RTL is not easy.

cheers
James

> 
> Michael.
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list