Re: GCC compiler for ARM7-TDMI



In article <lkvrg.3098$YI3.2525@amstwist00>, Dr Justice
<sorry@xxxxxxxxxxxxxx> writes
"An Schwob in the USA" <schwobus@xxxxxxx> wrote in message
news:1152215568.608390.256120@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DJ, Help me understand this; you do not trust the benchmarks on some
compiler vendors site but you trust this compiler vendor who just did
not invest the resources to generate a better compiler, so Raisonance
has to defend the GCC (because they are using it).

Sorry, that was lacking in detailed. Of course Raisonance may have a bias,
but I find their benchmark to be trustworthy because is seems thorough and
fair.

!!! :-) only because it favours your favourite compiler (one that they
supply)

Especially considering that it takes the real world into acount and
uses a slimmed down printf() for gcc, putting it on an equal footing
benchmarking-wise with the commercially developed /embedded/ offerings.


So these trustworthy benchmarks do things to favour the GCC compiler....
Anyone can spend time tinkering with the setups to favour any compiler.

They
also measure 'pure' code space and size (not measuring libraries).

SO you don't use libraries?

I've seen
some vendors sites where gcc is made to look like it generally uses twice
the memory of their product. Yes, out of the box a dedicated embedded
compiler may look better than a general one, but that can be (and has been)
fixed by using appropriate libraries.

As pointed out: out of the box GCC is not that good. Now you say the
libraries are poor. Well if you want to spend time messing about
configuring and building the system work out the cost... The cost of an
Engineer to a company is about 60GBP/100USD per hour. SO the cost of
putting together a better GCC is going to cost in real terms. Time is
NOT free.

BTW if the GCC libraries are not that good why should the rest of it be
better?

There may be better benchmarks, but I
haven't found any.

There are quite a few but none you would accept as they don't show the
GCC to be the best.

IAR for example use 20 real world projects. I think some of them belong
to real customers. You don't get much more real world than that. They
also usually give all the version numbers and settings for all the
compiler they ran the benchmakrs on.

Keil provide the source of benchmarks on the website... or at least they
used to so anyone could recreate them on any compiler.

There are other benchmarks I have seen. The only ones I have seen that
show Gcc is any good come from people supplying or using GCC.. sop the
are not better than anyone else's.

The bottom line is that unless you want to pay for a configuration or
spend time (==MONEY) on a GCC set up it will be not as good as the
commercial compilers.

Nothing is free in this world. EVER. There is always a cost.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@xxxxxxxxxxxx www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



.



Relevant Pages

  • Re: Whats the story with the "end of XP"?
    ... Support gives them access to the larger body ... The same compiler suite may be "best" in both ... In the case of ByteCraft compilers, you are truly expert in your field, you work closely and rapidly with customers if there are any issues, and you have top class testing and quality control. ... understanding the inner workings of a relatively simple compiler like GCC ...
    (comp.arch.embedded)
  • [RFC][PATCH-2.6] Clean up and merge compiler-*.h
    ... the kernel headers in include/linux to include/linux-abi. ... * Common definitions for all gcc versions go here. ... -/* Some compiler specific definitions are overwritten here ...
    (Linux-Kernel)
  • Re: LPC900/80C51 Compiler Toolchain
    ... >> supported by GCC, and so they invest. ... > if they already have their in-house compiler. ... one of the main companies in the Symbian consortium ... vendor to provide a good compiler for Atmel AVRs and eventually became ...
    (comp.arch.embedded)
  • Newbie packages question
    ... checking for gcc... ... checking for C compiler default output file name... ... checking if the linker is GNU ld... ... checking how to recognise dependent libraries... ...
    (Debian-User)
  • Lib X11 compile problem /Xlib.h:3573: error: syntax error before "_X_SENTINEL"
    ... checking for gcc... ... checking for C compiler default output file name... ... checking how to recognise dependent libraries... ...
    (comp.os.linux.x)