1

I'm trying to build an arduino sketch, but it fails with error:

"/usr/bin/avr-gcc-ar" rcs "/tmp/arduino_build_191139/core/core.a" "/tmp/arduino_build_191139/core/wiring_pulse.S.o"
gcc-config: error: could not run/locate 'avr-gcc-ar'
exit status 1
Error compiling for board Arduino Nano.

I'm using Gentoo with crossdev for avr and Arduino studio to compile. avr-g++ version is avr-gcc (Gentoo 6.4.0-r1 p1.3) 6.4.0.

gcc-config:

[1] avr-6.4.0 *
[2] x86_64-pc-linux-gnu-6.4.0 *

Does anybody know how to deal with this error?

2
  • You need to add avr binaries into PATH environement. Commented Sep 18, 2018 at 2:16
  • forums.gentoo.org/… Commented Sep 18, 2018 at 12:53

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.