This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/48306] presence of gcc subdir with . in PATH causes breakdown


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]