[Bug c/37995] using <stdio.h> fails if gcc invoked in a directory which has a subdirectory called "gcc"
mvanier at cs dot caltech dot edu
gcc-bugzilla@gcc.gnu.org
Sat Nov 15 01:03:00 GMT 2008
------- Comment #10 from mvanier at cs dot caltech dot edu 2008-11-15 01:01 -------
(In reply to comment #9)
> (In reply to comment #8)
> > Is "." in your PATH environment variable? As I've already mentioned, it works
> > fine if "." is not in the path. Now, one can argue that "." should not be in
> > the path anyway, but it doesn't seem to me that gcc should be enforcing this.
>
> Still works on darwin and GNU/Linux.
>
It works for me on darwin as well, but with gcc 4.0.1 (which is what MacPorts
provides). Which version are you using? I got the problem on gcc 4.3.2 on
Arch Linux.
Thanks for looking into this.
Mike
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37995
More information about the Gcc-bugs
mailing list