This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/48306] presence of gcc subdir with . in PATH causes breakdown
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2011 10:15:51 +0000
- Subject: [Bug driver/48306] presence of gcc subdir with . in PATH causes breakdown
- Auto-submitted: auto-generated
- References: <bug-48306-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48306
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-29 10:15:45 UTC ---
Ok, I can reproduce it with
~> env -i PATH=/tmp:/space/rguenther/install/gcc-4.6.0/bin gcc t.c
gcc: error trying to exec 'cc1': execvp: No such file or directory
but not with
~> env -i PATH=/tmp:$PATH gcc-4.6 t.c
t.c: In function 'main':
t.c:10:3: warning: 'used' attribute ignored [-Wattributes]
weird ;)
Note that we try to search for the GCC install dir, it is not statically
compiled in (so that install with DESTDIR works).