Arduino Eclipse

 

When using Arduino Eclipse (http://eclipse.baeyens.it) with Arduino IDE 1.6.7, I came across this bug:
/usr/bin/avr-ar: : No such file or directory

To fix it, right click your project in Eclipse, then choose Properties.

Now go to C/C++ Build, then Build Variables.

Now add the following variable (case sensitive):
A.ARCHIVE_FILE_PATH
arduino.ar

Clean the project and rebuild!