If you want to compile source code for pcDuino(ARM) on other architecture PC like X86, you should get a cross-toolchain.
You can easily install arm cross-compiler on Ubuntu 14.04 as follows:
sudo apt-get install libc6:i386 libstdc++6:i386 libncurses5:i386 zlib1g:i386 sudo apt-get install gcc-4.8-arm-linux-gnueabihf sudo apt-get install libncurses5-dev libncursesw5-dev device-tree-compiler u-boot-tools This will install Linaro cross-toolchain version 4.8 on Ubuntu 14.04, but if you want to install other version like 4.7, you can take the following commands:
sudo add-apt-repository ppa:linaro-maintainers/toolchain sudo apt-get update sudo apt-get install gcc-4.7-arm-linux-gnueabi
You might want additional tools for building a Linux system that are not related to the cross-compiler:
apt-get install build-essential git debootstrap u-boot-tools device-tree-compiler
Another way to get Linaro toolchain
It lists the following toolchains which are tar file.
When in doubt, try 4.7 first.
WARNING: Do not use the 4.8 gcc versions of the linaro toolchain to build legacy kernels (Linux kernel 3.4.39 etc.), those seem to have issues building the kernel. Use an earlier version instead. (TODO: Verify that this is still true today).
More information you can take from the following website: