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 c/37995] using <stdio.h> fails if gcc invoked in a directory which has a subdirectory called "gcc"



------- Comment #5 from mvanier at cs dot caltech dot edu  2008-11-04 11:07 -------
OK, I built a vanilla gcc system from scratch and it's still exhibiting the
same problem.  However, here's something new: the problem only manifests itself
if "." (the current directory) is in the path.  If it isn't, no problem. 
$GCC_EXEC_PATH is not defined.

Also, (when "." is in the path) if I explicitly give the path to gcc:

% /pkg/gcc/bin/gcc hello.c

it works.  But if I don't:

% which gcc
/pkg/gcc/bin/gcc
% gcc hello.c

you get the same error message I reported before.  This is really weird.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37995


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