After a previous post and attempting again to get CB to work with avr-gcc I made 'some' progress.
CodeBlocks will compile a simple C program for the PC and
it will execute as well (using Build/Run).
However, when I select the AVR-GCC compiler and attempt to
compile a very simple program I get:
Compiling: main.c
In file included from /usr/include/inttypes.h:26:0,
from /usr/lib/gcc/avr/4.5.3/../../../avr/include/avr/sfr_defs.h:126,
from /usr/lib/gcc/avr/4.5.3/../../../avr/include/avr/io.h:99,
from main.c:4:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings//the above is the error I get when attempting to compile a simple AVR program.
I don't think the PATH is set correctly, I am thinking that the predefs.h is not part of the AVR version (?).
So, once again I am in the ether and don't have a clue.
I hope someone can point me in the right direction.
Thanks.