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]
Other format: [Raw text]

Re: GCC viciously beaten by ICC in trig test!


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


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