http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48306
Summary: presence of gcc subdir with . in PATH causes breakdown Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassig...@gcc.gnu.org ReportedBy: k...@freefriends.org If a directory in PATH contains a subdirectory gcc/ (with executable access), gcc fails to find its subprograms: $ PATH=/tmp:$PATH $ mkdir /tmp/gcc $ gcc hello.c gcc: error trying to exec 'cc1': execvp: No such file or directory $ rmdir /tmp/gcc $ gcc hello.c $ If this behavior is explained or implicit in the documentation, sorry; I couldn't find it. It happens in at least gcc 4.5.x and 4.6.0. I'm sure it wasn't always this way.