Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-05

Just curious, is it possible to compile FreePascal under cygwin

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

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.

Regards,

Yoyong

Reply by email

Peter Vreman
to Unknown author
Show quoted text 6 lines
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.

Reply by email

Vincent Snijders

Hi,

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.

Even it could be compiled under cygwin environment, I don't think it would help you much. The main problem with lazarus under Windows is the widget interface. Under linux gtk is mainly used, but gtk under Windows is just not compatible enough. That is why there is some work being done on a native win32 widget set interface, but that is not as mature as the gtk interface.

Regards,
Vincent Snijders.

Regards, Yoyong

Reply by email