Skip to main content
Topic: Microchip C18 to disapear and new Mchip XC compilers coming (Read 1461 times) previous topic - next topic

Microchip C18 to disapear and new Mchip XC compilers coming

Seems Microchip is going to stop C18 windows only compiler and replacing it with a new set of compilers named XC that will be cross platform. XC will be also released for PIC32 and (most important) for PIC16xx series.

http://microchiptechnology.wordpress.co ... um=twitter


Re: Microchip C18 to disapear and new Mchip XC compilers com

Reply #2
yup, both C18, C30 and C32 work perfectly on linux and osx ?!

are these "new" compilers or only tweaked Cxx compilers with new name?

Re: Microchip C18 to disapear and new Mchip XC compilers com

Reply #3
Well the C18 isn't perfectly and uses some weird optimization (and imho unexpected beheaviuour). I spend a couple of day to realize that array are standard referenced by a signed char instead of a integer:

Code: [Select]
temp=array[c*5+i];

This would only work reliable if the array is smaller then 128 elements. Integer promotion needs to be set to true to make it work with large arrays.

 

Re: Microchip C18 to disapear and new Mchip XC compilers com

Reply #4
C18 is bit "weird" yes, btw if you enable extended mode it behaves bit better :) .. not sure how extended mode works on mplabx c18, it works for me (without any licence) but donno if it will stop at some time