This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/12829] include search bug -- gid related
- From: "evh at ehynan dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Dec 2003 13:52:02 -0000
- Subject: [Bug preprocessor/12829] include search bug -- gid related
- References: <20031029180836.12829.evh@ehynan.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From evh at ehynan dot com 2003-12-09 13:51 -------
[replying to my own message ...]
(In reply to comment #9)
> [...] Apparently gcc
> wants to use $PATH, and without it will generate a cc1 command with
> `-iprefix ../[whatever]'. The relative path argument to -iprefix is a
> bad guess, but this is clearly _not_ an egid problem as I had thought.
Additional note: if gcc finds a useful path in argv[0], it will use that,
and the bug will not be manifest. Unsetting PATH to see the bug probably
won't work, because then it will be necessary to invoke gcc from a full
path. A workaround is to ln -s /path/to/gcc . and then invoke ./gcc (with
PATH unset).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12829