[fpc-pascal]Just curious, is it possible to compile FreePascal under cygwin

Peter Vreman peter at freepascal.org
Wed May 21 07:35:04 CEST 2003


> Hi all,
>
> I am just curious if it is possible to compile FreePascal under cygwin
> environment. Reason.... since Lazarus is heavily developed using Linux
> (and only
> usable under this OS), I want to use it while using Windows.

You can compile FreePascal under cygwin. Not all Makefiles work correct
because cygwin tools will add /cygdrive/<driveletter> instead of
<driveletter>: before paths and fpc tools and other delivered tools like
ginstall.exe don't support this. Also specifying directories like
/home/user is not possible because fpc uses direct WinAPI calls that don't
know that /home/user is c:\cygwin\home\user. So for real cygwin there
needs to be a new port of the compiler. This port needs to be based on
POSIX libc for the RTL and the Win32 target in the compiler.






More information about the fpc-pascal mailing list