avr-g++: no such file or directory

Helped me either! I also got stuck when I've installed the new version 1.8.7 and updated the Arduino AVR Boards to 1.6.23 on my mac. By reinstalling version 1.6.20 everything is working fine again. Thank you!