Good job getting this to work for Linux - but I don't see any easy way to do it for Windows. I will keep hoping Intel releases a version of the IDE that uses eglibc.
Thanks. I hope so, too, but I think that if someone can build cross compiler on Windows, it will be achieved in the same way as this solution.
thanks for this: works nicely (well, I can compile a sketch!) with the x64 cross tools built using the recipe on Sergey's blog.
I am currently rebuilding the LSB image because I have a doubt that I might have built it wrong the first time. At least it did not boot for me.
So assuming that it does boot: am I right in thinking that the LSB image does not have an active USB serial port, and so the Arduino IDE cannot talk to it? And that the clloader is not part of the LSB image either?
How do I run an Arduino sketch which I compile with your nice eglibc Arduino IDE?
The same is true for MacOS X as well. One comes pretty far, but at the end, the equivalent of i586-poky-linux-uclibc-gcc without "-uclibc" is missing for the cross compilation (in tools/x86/i386-pokysdk-darwin; there is no sysroots). when simply linking gcc and friends to the name without "-uclibc", collect returns finally an error that crtbegin.o is not found.
I wonder, how 386-pokysdk-darwin was built, since bitbake image-full dies (after some minor hurdles like incompatible readlink, sed, and missing chrpath) due to missing read attempts from the /proc filesystem (which does not exist on the mac). A recipe would be appreciated.