limits.h bug in gcc

Rob Savoye rob@welcomehome.org
Wed Sep 12 11:34:00 GMT 2001


On Wed, Sep 12, 2001 at 07:54:45PM +0200, Gerald Pfeifer wrote:

> That would be great, thanks!  (Would you mind sending the announcement
> also to gcc@gcc.gnu.org in this case?)

  This is probably a stupid question, but is gcc 3.0.1 going to be fixed so
it'll build as a cross compiler ? I'm trying to get it to build for arm-elf
or sh-elf, so I can test the cross testing support in DejaGnu. I saw the same
bug in GCC 3.0, where the script that generates the limits.h file was hardcoded
to only work on a native system.

  I guess I'll drop back to gcc 2.95.3 to build a cross complier, but I was
hoping 3.0.1 would have this fixed. Gcc 3.0.1 also doesn't build natively with
--enable-threads either... 
  
                 from ../../../../gcc-3.0.1/gcc/libgcc2.c:1166:
/home/rob/projects/gnu/obj/redhat/arm-elf/gcc/include/limits.h:125:75: limits.h: No such file or directory
make[2]: *** [libgcc/./_fixunsdfsi.o] Error 1

	- rob -



More information about the Gcc mailing list