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 preprocessor/12829] include search bug -- gid related


------- 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


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