gcc 2.96: limits.h gets built incorrectly for linux-gnu targets

Jeffrey A Law law@cygnus.com
Tue Jun 13 14:06:00 GMT 2000

  In message < Pine.GSO.3.96.1000606184919.11451I-100000@delta.ds2.pg.gda.pl >you
  > Hello,
  >  When building a cross-compiler for a linux-gnu target make is unable to
  > find glibc's limits.h header which makes the build process assume the
  > target does not provide it.  This is due to the fact glibc headers do not
  > need to be fixed and are usually installed in ${tooldir}/include directly.
  >  The following patch makes $(CROSS_SYSTEM_HEADER_DIR) be overriden for
  > linux-gnu targets to make it point to glibc headers.  It actually makes
  > the building of a cross-compiler consistent with building a native one. 
  > Tue Jun  6 16:57:29 2000  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
  > 	* config/t-linux: Set CROSS_SYSTEM_HEADER_DIR to
  > 	$(tooldir)/include.
This seems horribly wrong.

Use --with-headers=XXX so that the tools know how to find the system's header


More information about the Gcc-patches mailing list