Quote:
|
Originally Posted by Skabana159
Code written for the PIC will compile in your OSX box, because unless you do something really tricky, C18 is ANSI-compliant (standard syntax).
However, if you simply use your normal compiler, rather than the C18 compiler, you will not get a usable hex file for the PIC. You must use a compiler meant for use with the PIC because your mac and the PIC have vastly different archetectures. I would go with the VPC, if I were you.
You can still use the X-Code development environment, if you just want a pretty IDE (Integrated Development Environment) to make writing easier. You just can't compile with this either.
I feel some of your pain, being a Linux user myself, and have found that the only way for me to do it is to use a program called Wine (Win emulator) to run MPLab...
|
I am not an expert by any means, by I know that x-code only compiles in gcc. This is one of the biggest complaints against x-code, and another reason people still buy the expensive codewarrior.
X-code is specifically designed for just writing programs in Panther. It was never meant to compile programs for embedded processors. Now that doesn't mean that it can't, somebody one day could make an add-on compiler for x-code or any other program.
It really sucks that mac users finally got the ability to be able to program in PBasic, only just to loose that ability by Innovation FIRST switching to a different language and compiler.
However I do understand that PBasic was very limited, and many FIRST teams wanted a more advance language to be able to program more.