This Video describes, how to install eclipse on ubuntu and how to cross compile the source code for ARM architecture and run it on target board
1- Install eclipse ide on ubuntu using following command:
sudo apt-get update
sudo apt-get install eclipse-cdt
2- Download ARM toolchain from https://github.com/raspberrypi/tools.git