This is the mail archive of the gcc-help@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: GCC Behaves Differently for Different User?


John Graham <johngavingraham@googlemail.com> writes:

> Under a new user (created for a pet project) I got a compiler error
> saying the header <stddef.h> was not found. However, when compiling as
> my "usual" username (john) gcc was able to find the header.

This implies that the new user is unable to determine the current
working directory.  Make sure that "sudo -u USER /bin/pwd" prints
something reasonable rather than, say, a "permission denied" error.

Ian


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