[fpc-devel]Porting FPC to another OS

Pierre Muller pierre at freepascal.org
Mon Apr 22 10:59:24 CEST 2002


At 10:47 22/04/2002 , vous avez écrit:
>Hi,
>
>Is there any documentation on how to port FPC and FP to another OS? I've started
>by writing my own interface unit to RDOS syscalls. The next step would be to take
>the win32 version and remove all win32 references. With this done, I would like
>to build my own system unit. I have a couple of questions about this:

What is RDOS? Could you point us to some web references?

>How does the compiler know where it should look for units?

See   -Fu option.

>How do you add a new target type in FP?

See systems.pas unit.

>BTW, both win32 and go32v2 targets work in RDOS, but I want a native version
>that can run without win32 emulation DLLs or dpmi reflects to V86 mode.

That will require a new target indeed.

>Who is responsible for GO32V2? There is a bug in it that accesses BIOS. If
>FPC should be a serious alternative for embedded systems, it should not assume
>there is a BIOS chip at F000!
Where does the go32v2 source have a reference to 0xf000 segment ?
I can't find anything about this in the latest sources?




More information about the fpc-devel mailing list