John Graham <johngavingraham@xxxxxxxxxxxxxx> 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