Cygwin annoyances

No gcc

If you type gcc somefile.c you get back "bash: gcc: command not found" because gcc isn't linked to anything. Instead type gcc and press <tab> and you will see there is a gcc-3.exe and a gcc-4.exe. They reside in /usr/bin. Make a symbolic link to whichever one you want.
$ ln -s gcc-4.exe gcc.exe

Weird file system

$ which foo
/usr/bin/foo
$ cd /usr/bin
$ ls foo
foo*
$ls *oo
ls: cannot access *oo: No such file or directory
$ls *oo*
foo.exe
$

Send mail to the Webmaster

logo This site best viewed with a browser
Warning: This is a Debian centric site and MAY contain peanuts.
Many thanks to Debra Lynn and Ian Murdock for making Debian possible
First created Feb 14, 2010 ~ Last revised February 20, 2010

Valid XHTML 1.0 Strict Valid CSS!