OK, trying to relearn Linux after 10+ years, installed Arduino on Wheezy on my Raspberry Pi and when I try to compile a sketch that works fine on Win7 I get this error:
In file included from /usr/lib/gcc/avr/4.7.2/../../../avr/include/util/delay.h:44:0,
from /usr/lib/gcc/avr/4.7.2/../../../avr/include/avr/delay.h:37,
from /usr/share/arduino/hardware/tiny/cores/tiny/wiring_private.h:32,
from /usr/share/arduino/hardware/tiny/cores/tiny/WInterrupts.c:37:
/usr/lib/gcc/avr/4.7.2/../../../avr/include/math.h:426:15: error: expected identifier or ‘(’ before ‘double’
/usr/lib/gcc/avr/4.7.2/../../../avr/include/math.h:426:15: error: expected ‘)’ before ‘>=’ token
Sorry, can't figure out screen shots or copying for the forum yet.
Anyway, 1: How do I find this file with all the truncations in the path?
2: Can I edit this file to correct these errors?
A small embedded ARM processor with 256MB of ram sure makes you appreciate how far computers have come in the last 15 years.
Thanks for looking.
TomJ