I have downloaded lighttpd tar file and I need it to compile it using cygwin for Windows 10 machine.

I did some extensive research on how to compile lighttpd files using cygwin in google but most of the articles are very old.

I need some guidance.


I know I need to use Mingw application to compile LighTpd file to make it a Standalone application.

I tried looking up instruction online but I couldn't find any.

  • why you can not use the already available package ? cygwin.com/packages/summary/lighttpd.html – matzeri Sep 20 '20 at 19:08
  • @matzeri do I run it under cygwin? I want it to create .exe file for the windows 10 to run the service in the background – krillavilla Sep 20 '20 at 22:42
  • Do you want to build a Cygwin program or a standalone program ? For a stand alone program you need to use Mingw not Cygwin – matzeri Sep 21 '20 at 12:34
  • @matzeri Thank you for MinGW's advice!! I tried looking up how to create Lighttpd using MinGW. I have not to find instruction to perform the job. Can you help – krillavilla Sep 23 '20 at 1:42

lighttpd can be built under Cygwin, or you can use the already-built lighttpd package in Cygwin.

The lighttpd executable can be run from the windows CMD prompt or as a Windows service. Yes, the lighttpd executable links against cygwin.dll, but you do not have to be inside a bash shell to run the lighttpd executable.

tl;dr: just run the lighttpd executable

As for compiling lighttpd under cygwin yourself, have you tried reading the INSTALL file that is included with the lighttpd.tar? (hint hint)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.