Frank Heckenbach wrote:
Kernel-safe!? Do you mean you want to implement a kernel in GPC using the runtime library?
Just a small "Hello Kernel" kernel extension, out of curiosity.
I don't think that's a way to go, since the runtime is much more high-level -- e.g., it uses files while the kernel must implement files on the lowest level; also the floating point (including complex) routines should not be useful for a kernel where FP is usually avoided; etc.
This doesn't mean that the Pascal compiler itself couldn't be used to compile a kernel, but that's a situation where it's probably better to start with a different, minimal runtime library.
Ah, I see, thanks for this information.
Regards,
Adriaan van Os