Code::Blocks Forums
User forums => Embedded development => Topic started by: arechavel on May 14, 2012, 11:26:14 pm
-
Hello,
I created an avr project for the atxmega256a3b, I installed on my linux pc avr-gcc 4.5.1
I configured the settings of the compiler as follows
from the menu > settings > compiler and debugger - in selected compiler drop down list box - selected GNU AVR GCC Compiler, then selected
the TAB toolchain executables and in the compiler installation directory text box typed in the path to the compiler
I also wrote a little program for testing and then I tried to build it
It displays
Compiling: main.c
/bin/sh: avr-gcc: command not found
what am I missing that it does not work ???
thank you
-
Are you sure the compiler is installed and the executables are located in the bin-folder below the compilers's master path ?
-
Yes, I just verified it
-
Also when I type in avr-gcc on the terminal I get
avr-gcc: no input files
which means the compiler is installed.
-
My compiler installation path was wrong
it was
/usr/local/avr8-gnu-toolchain-linux_x86/bin
I changed it to
/usr/local/avr8-gnu-toolchain-linux_x86
Now it works
Thank you.