Maybe not a bug...

Mike Klusman klusmm@rpi.edu
Mon Jul 27 14:11:00 GMT 1998


I have recently built egcs-1.0.3 on my RH 5.0 system and I am attempting
to compile some software for my research.   My files are mixtures of
fortran, c, and c++,  and they provide me a good judge of how the
compiler works.   However, here is my problem.   I installed my egcs
based on the README documentation and all seemingly went well, but when
I try to compile my software, it gets lost in the limits.h file in
/usr/include.   The actual error is as follows...

gcc -O2 -fwritable-strings  -DLinux -DRedHat5 \
        -I. -I../inc_derived/ -I../include/ -I./
-I/CLAS/packages/include -I/CLAS/packages/inc_derived -I/usr/include
-I/usr/X11R6/include -I/usr/include/g++ -c \
        closec.c -o /CLAS/builds/DEVELOPMENT/obj/Linux/closec.o
In file included from /usr/include/limits.h:52,
                 from /usr/include/sys/param.h:23,
                 from /usr/include/rpc/types.h:55,
                 from /usr/include/rpc/rpc.h:40,
                 from netincl.h:219,
                 from closec.c:8:
/usr/include/limits.h:52: No include path in which to find limits.h


Is this telling me of a recursive "feature or bug"?   I do know there is
a limits.h file in the include directory of
/usr/lib/gcc-lib/.../egcs-2.90.29/include.   Should this file replace
the file in usr/include/limits.h?

I appreciate any suggestions or advice!

Mike Klusman




More information about the Gcc-bugs mailing list