This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c/37995] using <stdio.h> fails if gcc invoked in a directory which has a subdirectory called "gcc"
- From: Andrew Thomas Pinski <pinskia at gmail dot com>
- To: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- Cc: "gcc-bugs at gcc dot gnu dot org" <gcc-bugs at gcc dot gnu dot org>
- Date: Fri, 14 Nov 2008 17:39:15 -0800
- Subject: Re: [Bug c/37995] using <stdio.h> fails if gcc invoked in a directory which has a subdirectory called "gcc"
- References: <bug-37995-6219@http.gcc.gnu.org/bugzilla/> <20081115010145.23142.qmail@sourceware.org>
Sent from my iPhone
On Nov 14, 2008, at 5:01 PM, "mvanier at cs dot caltech dot edu" <gcc-bugzilla@gcc.gnu.org
> wrote:
------- 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.
I am using 4.3.0, 4.4.0, 4.1.1 and 4.0.2. On all of the above targets/
hosts.
Thanks for looking into this.
Mike
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37995