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]

RE: limits.h bug in gcc


Hi!!!

I am also trying to build the gcc 3.0 and gcc 3.0.1 for sh-elf, sh-hms and
sh-coff targets on cygwin. Sh-elf target build successfully for both without
my changing any script. But the sh-coff and sh-hms are failing in build of
library libstdc++-v3.

Rob can you please send me what all changes you have done in configure
script, so that I can try that change for sh-hms and sh-coff and see whether
they built. I am building these targets for languages c and c++. The build
for sh-hms and sh-coff for only C is successful.

The error what I am getting is that the PC stops  after the 'checking for
working strncmp...' statement.

checking whether we are using GNU C... (cached) yes
checking whether
/home/kpit/sh-hmsbld3.0.1/build-gcc-3.0.1/gcc/xgcc -B/home/kpit
/sh-hmsbld3.0.1/build-gcc-3.0.1/gcc/ -nostdinc -B/home/kpit/sh-hmsbld3.0.1/b
uild
-gcc-3.0.1/sh-hms/newlib/ -isystem
/home/kpit/sh-hmsbld3.0.1/build-gcc-3.0.1/sh-
hms/newlib/targ-include -isystem
/home/kpit/src/gcc-3.0.1/newlib/libc/include -B
/usr/sh-hms3.0.1/sh-hms/bin/ -B/usr/sh-hms3.0.1/sh-hms/lib/ -isystem
/usr/sh-hms
3.0.1/sh-hms/include accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for working const... yes
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... no
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... no
checking for fcntl.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for unistd.h... (cached) yes
checking for getpagesize... no
checking for working mmap... no
checking for working strncmp...

Thanks & Regards
Rekha

-----Original Message-----
From: gcc-bugs-owner@gcc.gnu.org [mailto:gcc-bugs-owner@gcc.gnu.org]On
Behalf Of Rob Savoye
Sent: Thursday, September 13, 2001 8:30 PM
To: Andrew Stubbs
Cc: gcc@gcc.gnu.org; gcc-bugs@gcc.gnu.org
Subject: Re: limits.h bug in gcc


On Thu, Sep 13, 2001 at 12:53:50PM +0100, Andrew Stubbs wrote:

> I have absolutly no trouble building and using an sh-elf cross compiler
> under cygwin, solaris and linux using newlib. I have successfully built
> both 3.0 and 3.0.1. As far as I am concerned the target can be added to
> the list on the web site.

  I guess I should be more specific. libstdc++-v3 wouldn't build in gcc 3.0,
but xgcc itself always did. The mknumeric_limits script was setup to only
work natively. 3.0.1 did build after I played around with the configure
arguments some, so I'm happy now.

	- rob -


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