i586-poky-linux-g++: no such file or directory Error compiling for board Intel® Edison
The problem here is that Intel, in their infinite wisdom* have lots of hard-coded paths to libraries in the binaries (why, heaven only knows) and then a set of scripts that munge those binaries to sort out where the libraries really are.

That script uses an option to find that was deprecated 13 years ago.

Way to keep up with the times, Intel...

So you need to make some fixes to get the toolchain to install properly. 

I have created "fix" scripts for both the Edison and the Galileo that you can use to replace your broken toolchain.


https://github.com/majenkotech/IntelFixes




*i.e., sheer incompetence