User forums > Embedded development

creating an avr project for atxmega256a3b

(1/1)

arechavel:
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

Jenna:
Are you sure the compiler is installed and the executables are located in the bin-folder below the compilers's master path ?

arechavel:
Yes, I just verified it

arechavel:
Also when I type in avr-gcc on the terminal I get
avr-gcc: no input files

which means the compiler is installed.

arechavel:
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.

Navigation

[0] Message Index

Go to full version