.
Computing / Cygwin

Computing
U N D E R   C O N S T R U C T I O N

Cygwin Tips and Tricks

Cygwin

What is Cygwin?

Cygwin is:

  • a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
  • a DLL (cygwin1.dll) which provides substantial POSIX API functionality.

What is it not?

Cygwin is not:

  • a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
  • a way to magically make native Windows apps aware of UNIX® functionality like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.


Post-Installation

Your default group

For some reason, Cygwin sets my user up with the group "None". Run a Cygwin Bash Shell (or click on the Cygwin desktop icon), and cd to /etc. In the /etc/group file, find the id for the Users group (in the below screenshot, it is shown as 545). Then edit (e.g. using vi), the /etc/passwd file and change the groupid for your user entry to the Users group id (in the below screenshot, in the line beginning with "Tony:", I would change the 513 to 545).

Screenshot
awc 2010-03-26 13:24:43

fatal error: unable to remap some.dll to same address as parent

I got this after installing cygwin when I tried to run subversion (svn). The fix (found here) is as follows:

  1. Close out of Cygwin (and all cygwin processes).
  2. Open a Windows command prompt (start -> run - > type cmd or on vista : start -> type cmd in the start search window)
  3. Go to your cygwin bin directory. For me it is c:\cygwin\bin.
  4. Type ash
  5. Type /usr/bin/rebaseall
  6. Resolve any errors (I had no errors or warnings)
  7. Reboot…and you should be good.

I'm not sure if the reboot is needed; but, this is Windows we're talking about so just go ahead and reboot.

awc 2010-03-26 13:15:46


I have as much authority as the Pope. I just don’t have as many people who believe it.

George Carlin

A2 Web Hosting
Creative Commons License
Get your Domain at GoDaddy.com
search engine by freefind advanced

loaded 2017-05-25 05:00:21 • last modified 2015-07-14 12:11:29
Privacy PolicyDisclaimer
• awcolley.com is powered by PmWiki
• all content (unless otherwise noted) © 2017 A W Colley