This is the mail archive of the gcc@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's limits.h vs POSIX


DJ Delorie <dj@redhat.com> writes:

> > provided that the system has its own <limits.h> detected at build
> > time.
> 
> Ok, this part seems to be broken in my build.  Apparently, this only
> works with --with-sysroot, as it does not look in the same directories
> as gcc itself looks in.

By default it looks in exactly one directory, SYSTEM_HEADER_DIR, which
in a native compiler is by default /usr/include.  See LIMITS_H_TEST.
In t-djgpp this is set to $(DJDIR)/include.  I don't know what sets
DJDIR.

Ian


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