Re: IDE for Atmel ARM processor



Chris Hills <chris@xxxxxxxxxxxx> wrote in message news:<yY6+VkG+gs1CFAs3@xxxxxxxxxxxxxxxxxxxx>...

> It still doesn't get away from the fact that the they reckon just be
> recompiling with a commercial compiler instead of GNU the code size was
> halved.

It's hard to believe this, all our tests show that GCC produces almost
same or little bigger code size than the commercial compilers in most
of the cases. There are specific situations where GCC produces same or
less sized code, there are others when GCC produces bigger code -
everything depend on how much time you have spent to learn how your
compiler assembly your code, where it puts the function parameters,
how it compiles "case" and "if" statements etc. and to know where what
to use.
I'm not so good assembly writer as assembly needs you to be quite
focused when you write or you easily shoot your leg, but few years ago
I had to write CRC code for AVR assembler, then out of couriousity
re-wrote the same on C and compiled with AVR GCC - it made the code
1/2 size than my original assembly code(!).
On top of this in some commercial compilers when you put the highest
optimization possible your code will stop work or start behave weird
;) so you should use the optimization with extra care (!) and spent
more time on testing.

So bottom line is that GCC is doing just fine, but I can't say that
there is decent ARM debugger on the market though which to work
flawless in Windows environment (or I do asking too much ... ;)


Best regards
Tsvetan
---
PCB prototypes for $26 at http://run.to/pcb
(http://www.olimex.com/pcb)
PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
Development boards for ARM, AVR, PIC, MAXQ2000 and MSP430
(http://www.olimex.com/dev)
.



Relevant Pages

  • Re: GNUPro Development, v850
    ... GCC source repository, so you can tell why a change was made and when: ... Most of the things claimed you can't do with commercial compilers we can do with most of the ones we supply. ... Some suppliers - such as ByteCraft and ImageCraft - are happy to help any customer with these issues. ... The wildly different behaviour and efficiency was a quote from a support person at a GCC/Linux maintainer. ...
    (comp.arch.embedded)
  • Re: Moving from 8051 to AVR
    ... Actually it is almost impossible to do with Gcc. ... However it is *not* generally that easy with the commercial compilers ... I have used (dongle problems etc). ...
    (comp.arch.embedded)
  • Re: Very basic Fortran compiler question
    ... but it is far from being a conforming Fortran 9x processor. ... What are the differences between the gcc compilers and the commercial ... > The commercial compilers have support, documentation, regular updates, ...
    (comp.lang.fortran)
  • Re: GNUPro Development, v850
    ... GCC source repository, so you can tell why a change was made and when: ... even for the same target and version number. ... Most of the things claimed you can't do with commercial compilers we can do with most of the ones we supply. ...
    (comp.arch.embedded)
  • Re: what uC do you prefer?
    ... I don't see any reason to change from what I ... I've used commercial compilers for MSP430 and PIC and IMHO, ... avrgcc/avrlib is excellent. ... Also on freertos.org the AVR seems to kill the PIC for speed. ...
    (sci.electronics.basics)