Cygwin Stuff

Installing Cygwin

  • Run the cygwin setup/packaging manager. Set cygwin up in C:, ignoring warnings (Steve Yegge said so). Don’t mess with the packages, as that seems to deselect the default packages.
  • For building stuff, run the setup again and choose at gcc and make. GCC will select those gcc packages that are needed at minimum. You might need to install sed, perl, automake and autoconf as well.
  • You may need to build with X11 at some point, install xorg-x11-base and xorg-x11-devel, and you should be ok for most builds. There seems to be a problem sometimes with linking against libX11.dll.a instead of libX11.a, but most builds seem to be able to handle this.

Uninstalling Cygwin

Cygwin does not have an automatic uninstall capability. To uninstall Cygwin, perform the following manual steps.

Delete the Cygwin shortcuts on the Desktop and Start Menu.
Delete the registry node Software\Cygnus Solutions under HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER.
Delete the Cygwin directory (typically C:\cygwin).
Delete any files created in the setup temporary directory.
Delete C:\cygwin\bin from the PATH environment variable if you have it.

Leave a Reply