Quote:
|
Originally Posted by [494]Hal9000
I'm stilll not sure if X-code will compile "C". I mean Unix is written in "C", OSX is Unix with a pretty GUI. Anyone know if x-code will compile "C"??????
|
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...