Debug printing with CrossPack-AVR

Hi all,

I am currently writing code for an Arduino Uno using CrossPack-AVR-20120217 on a mac. I am trying to find a way to debug my code using a print functionality. I know the Arduino.h library includes a Serial.print() function and I would like to use it but when I try to include that library I get an error that it does not exist.

Due the requirements of the class I am taking I cannot use the Arduino sketches. I am currently writing my code in C, and I know that Arduino.h is written in C++. Has anyone been able to get Arduino.h to work with CrossPack, or has anyone found another way to print variable values to a Mac's standard out.

Also I would rather not built up a custom USART interface if I don't have to.

Thanks

Due the requirements of the class I am taking I cannot use the Arduino sketches.

Does that really preclude you using the HardwareSerial library for debugging purposes? Once your code works, remove the Serial instance.