limits.h bug in gcc

Andrew Stubbs
Thu Sep 13 08:49:00 GMT 2001

On Thu, 13 Sep 2001 wrote:

> 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.

I'll believe you about the script, but I've never had any trouble. I
configure it with --enable-languages=c,c++ and there are no other c++
libraries present so I guess it must be using it. I can compile hello
world (and therefore the standard c++ library), but I must admit I havn't
really done much more.

For C on the other hand I am more certain it works - in particular I have
used it to build the SHLinux kernel (doesn't really test the run time
libraries though).

|  Andrew Stubbs,                   |  E-mail:    |
|  STMicroelectronics Ltd.,         |  or  |
|  1000 Aztec West,                 |                                  |
|  Almondsbury,                     |  Tel:    +44 (0)1454 462325      |
|  Bristol, BS32 4SQ, U.K.          |  Fax:    +44 (0)1454 617910      |

More information about the Gcc-bugs mailing list