egcs-1.1.2-12

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Thu Sep 30 19:57:00 GMT 1999


> I was trying to compile my program using limits.h from kernel headers.
[...]
> a.c:2: linux/limits.h: Permission denied
[...]
> so I have permissions to read this file.

Perhaps it is picking up a different copy of limits.h. Please try gcc
-v to get the preprocessor command line, then use 'strace -eopen /...'
to see what is going wrong.

Hope this helps,
Martin



More information about the Gcc-bugs mailing list