Fresh install of Stino on Ubuntu 18.04 machine. Added Arduino AVR platform version 1.8.2
For some reason it downloads an Apple version of avr tools. As a result build fails with the "Exec format error" and file ./avr-g++ command in appropriate ~/.arduino15 folder shows that it is indeed osx format file: " Mach-O 64-bit x86_64 executable".
I did a reinstall of .arduino15 folder at it shows that it downloads avr tools from this file:
http://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino5-x86_64-apple-darwin14.tar.bz2
What should I do to get the correct toolchain?