GCC viciously beaten by ICC in trig test!
Ian Lance Taylor
ian@wasabisystems.com
Mon Mar 15 15:11:00 GMT 2004
Scott Robert Ladd <coyote@coyotegulch.com> writes:
> Perhaps GCC could provide a clean ISO C library that is enabled with
> the -std=c99 switch? After all, GCC does include an ISO C++ library,
> and a Fortran 95 library (in tree-ssa).
The subset of programs which can work using only the ISO C standard
functions is relatively small. And the GNU project is already
supporting a standard library--glibc. I think the set of people who
could benefit from such an effort is small.
> I've also noticed a couple of alternative libraries for embedded
> systems (uClib and newlib). I may experiment with these...
newlib is indeed a more or less ISO C compliant library for embedded
systems. It has some POSIX.1 stuff. There has been some effort to
keep the headers ISO C namespace clean in the presence of
__STRICT_ANSI__. I don't think anything has been done for any new c99
functions. There are assembler versions of a few functions.
I haven't used uClib.
Ian
More information about the Gcc
mailing list