[fpc-pascal] Freepascal 2.0 for cygwin

Matt Emson memsom at interalpha.co.uk
Wed Aug 17 11:56:42 CEST 2005

> When going to a new platform, you'll always need to cross-compile.
> But this is the same for any C compiler.

And, as Cygwin is simply another target under Windows, the Windows compiler
is perfectly capable of "cross" compiling for Cygwin. In this case, "cross"
compiling is streatching the term slightly, as Cygwin is another API that
runs under Windows, not a seperate OS. The hardest part will be tweaking the
RTL and working out which Cygwin DLL provides which section of the UNIX API.
It's not trivial, but it's a far cry from porting to, say ARM from X86 or
68000 to PowerPC or from Linux to QNX or BeOS. At least your binaries should
run under Windows without having to reboot, so long as the Cygwin DLL's are
in the path.


More information about the fpc-pascal mailing list