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]

Re: [Bug c/37995] using <stdio.h> fails if gcc invoked in a directory which has a subdirectory called "gcc"




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




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