I've been searching and trying for the past two days to cross-compile a simple C program on the Arduino Yun without much success. I am wondering if someone can provide a detailed step-by-step tutorial to run a simple helloworld C program on the AR9331 processor running Openwrt-Yun on the Arduino-Yun. The main things that will components that will be very helpful are: 1) Which SDK/Toolchain to use 2) How to setup the toolchain/SDK 3) How to use the toolchain SDK 4) What are the dependencies/libraries that need to be installed 5) How to create a package to run on the Yun.
The system I am using is 32-bit Ubuntu 12.04.
Thanks in Advance, Moe Joseph