GCC Behaves Differently for Different User?

Ian Lance Taylor iant@google.com
Tue Dec 6 21:56:00 GMT 2011


John Graham <johngavingraham@googlemail.com> writes:

> However, I think I've found the cause of the problem, even if I have
> no idea why it would cause this - when the new user runs "export", no
> PATH shows up. If I run "echo $PATH" it shows up as I'd expect, and
> when I do "export PATH" suddenly gcc can #include <stddef.h> just
> fine. There must be some subtlety I'm not aware of... I don't suppose
> you could shed any light on what's going on here?

No, you've got me there.  I have no idea what is going on.  I would be
interested to hear if you figure out why PATH matters.

Ian



More information about the Gcc-help mailing list