cygwin32 is a project to make it easy to port Unix applications to machines which run an OS which supports the Win32 API - i.e. Microsoft Windows 95 and Windows NT. Currently, cygwin32 is in beta stage; it is available from `ftp://ftp.cygnus.com/pub/gnu-win32/' Don't use gcc sources from the cygwin32 distribution. These are not just modified from FSF gcc-2.7.2 to support the Windows 95/NT target, they are the "current development release", and too different from FSF gcc to be compatible with GNU Pascal, which is based on FSF sources.
Instead, apply `config/cygwin32/gcc-2.7.2.cygwin32-beta16.diff' to FSF gcc-2.7.2 to add cygwin32 platform support to gcc. The GNU pascal sources already have the cygwin32 support, so no further patching of gpc is needed
Currently, cygwin32 is not self-hosting: the preferred way to build the cygwin32-gpc binary is to use a unix system with a cygwin32 targeting crosscompiler. See section Crossbuilding a compiler.
GNU Pascal does not yet fully support the stack calling convention of the Win32 API, thus making it impossible to access system DLL's.