I put together a handy summary of the differences I noted in proting from CCS to Hitech C. I have ported a number of projects back and forth between them for various reasons with very little pain. CCS is a two-edged sword; if their handy functions work at all I find I am a lot more productive using CCS, because Hitech is more bare bones. Extensions to hitech for things like I2C or software serial port access are either roll your own or pulled off the web, and sometimes these are incomplete or do not consider all the cases they could. However, you know how they work. The good news is, despite the ravenous exhortations of political factions supporting one or the other, both compilers are quite similar in most respects, and both are "ANSI-Like" to varying degrees. This summary of differences is intended to get the focus off of Compiler Wars and onto objective evaluation of the two. http://members.socket.net/~llile/c/C_stuff.htm -- Lawrence Lile Jesse Lackey Sent by: pic microcontroller discussion list 12/16/2003 04:03 PM Please respond to pic microcontroller discussion list To: PICLIST@MITVMA.MIT.EDU cc: Subject: Migrating from CCS C compiler to ... anything else ? Hello all, I just found the 10th serious ridiculous bug in CCS's PCH - this one is that malloc returns a pointer to RAM already used by globals, so any writes trash things - and I'm completely fed up with them. I have to spend $100 for another year maintenance contract and I feel morally opposed to giving them any money. There's also no guarantee they will fix it or when. They were a big mistake, the biggest mistake I've made in the past year. I unfortunately have two unfinished projects with siginificant code investment with CCS. About 5000 lines across 6 projects. So, I'm evaluating my options. Has anyone ported from CCS to Microchip's C18 or Hi-Tek's C compiler? Are there any others in the <$1000 range? I use some hardware facilities that CCS wraps, the UART and the I2c stuff, nothing fancy. I may just write my own malloc() to get this one out the door... but this cycle has been repeated too many times. I'm also considering GCC for the AVR, but I'd rather not have to do a hardware redesign as well as software port. But if its saves $500 and is a path with a future it might be worth it. I tend to use 1320, 452 and 6520 parts, I don't know the AVR lineup at all. Thanks for any advice. Jesse -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body