Paul,
you got it to the point (the libs) where the weakest point of GNU is. The standard library generates slightly humongus code.
AFAIK, the Keil version you used is actually a GNU C-Compiler with the Standard LIB, embedded in the Keil uVision. There is a new compiler, non-GNU which generates much better code and has its own libraries.
As a compiler, not looking at the libraries, numbers that I have seen compiling some benchmarks ourselves were in the range 20-30 larger than best in class (was ARM about 18 months ago). Nevertheless, using the GNU Libs, it was more than a factor of 2.
Summary: the secret is mostly in the libraries
Robertus
Paul Curtis wrote:
vs GCC.
of
done"
standard
the
compiler as a
code
than
than GNU)
GNU)
when