On 12/15/05, M Graff wrote: > Wouter van Ooijen wrote: > > Seriously, this is something that realy annoys me too. Why isn't there a > > free GCC compiler for 12 and 14 bit PICs? > > Why can I not find if there is an 18F back-end for gcc? > > Seriously, this is actually a question, not a whine. I'm currently > looking at the source for gcc to see if someone got to it already. :) Because GCC, like C in general, expects a stack-based computer. But since the 18F processor has such a small stack, and addressing values on the stack is so cumbersome, most compilers use a "compiled stack" (i.e. use and re-use memory based on what parameters are currently in use, based on which functions call which functions (a "call tree")). Since GCC does not know how to deal with a "compiled stack", GCC does not make a good 18F C compiler. Bill -- Psst... Hey, you... Buddy... Want a kitten? straycatblues.petfinder.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist