View Single Post
  #6   Spotlight this post!  
Unread 04-01-2004, 09:17
Skabana159's Avatar
Skabana159 Skabana159 is offline
Robotics and Field Hockey
AKA: Jesse C. Owens
#0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2000
Location: Ft. Collins, CO
Posts: 92
Skabana159 is on a distinguished road
Send a message via AIM to Skabana159
Re: Programming with OSX

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...
__________________
"What most people do not understand is that the Buddha, the Godhead, resides just as comfortably in gears and circuits as in hills and trees. To believe otherwise is to dilute the Godhead."
-Robert Pirsig, Zen and the Art of Motorcycle Maintenance