Install toolchains

After login to cubieboard lubuntu os, run the following commands

  $sudo apt-get install build-essential

Then, we have c/c++ compiler now, and we can write, debug c/c++ program on cubieboard