[Icc-avr] Different executable images with .COF and, .HEX??
Jaspers, Ton
t.jaspers at cpseurope.com
Tue May 27 01:09:14 PDT 2008
> -----Original Message-----
> From: Bengt Ragnemalm
>
> Is it so far away to ask for that the compiler have the
> option to generate a CRC word? This feature is very common so
> it would be a natural feature.
>
> /Bengt
>
CRC generation/checking is an application issue. A compiler should
compile source code, it is not an application generator.
Further more ANSI-C99 (and older standards as well) dictate a standard
library, a CRC generator/checker isn't part of that. I understand that
you would like to see CRC added to the standard lib. If so, write a
letter to ANSI.
I for one, would be against it for it is obviously an application
problem and there are so many polynomials out there that a CRC lib would
be a huge thing. Not to mention copyright issues that the compiler
builder would need to deal with. These copyright issues would eventually
have to be paid for by you and me, the compiler builders customers. Then
we would have to pay for code that most of us would not use. Not a good
idea IMHO.
If I need a hash polynomial it takes me in average 30 seconds to search
the Internet and ten minutes to port and implement. Not a big deal.
Cheers,
Ton
More information about the Icc-avr
mailing list