Hi John, excellent comparison write up! Thank you for sharing it :) Pricing I have so far.. MPLAB C18 AUD $706 HiTech C AUD $950 IAR EWPIC18 AUD $4760 I am porting code from a Renasas (Mitsubishi) M16C62 16 bit processor (we are loosing some functions along the way, all in the name of lower cost..). It is compiled using the Renasas C compiler at present.. Reading the comparisons makes me a little concerned that it wont be quite as easy as I hoped... I have used the IAR one previously and apart from the cost I feel it would be an easier path to take. Can anyone using the IAR compiler comment on it Vs the others? Is it really 4x better? Regards, Peter Mcalpine -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of piclist@XARGS.COM Sent: Friday, 21 May 2004 5:01 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: C-compiler PIC18F On Fri, 21 May 2004, Peter Mcalpine wrote: > I know of MPLAB C18 and Hi-Tech both similar sort of $. > Are there other 'better' ones around? > > Would like it to be easy to use as I need to port C code > from another micro Since you're porting existing code, I'll assume you want an ANSI-compliant compiler. Other than the two you mention above, the only other such compiler is from IAR. The last time I checked, IAR was considerably more money without having any obvious additional benefits. Which compiler will make your porting effort easier might depend on the nature of the code you're porting. If the code is recursive, note that Hi-Tech doesn't support recursion. If the code includes string literals, note that C18 has a non-standard implementation. C18 also doesn't support integer promotions by default, which will break some code. You can enable them, but at a substantial price in code size. I've been working with both compilers and have been documenting my findings: http://www.xargs.com/pic/picc18-vs-c18.html -- John W. Temples, III -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.