Build toolchain is easy by crosstool-NG project. It aims at build cross compilers. Toolchains are an essential component in a embedded system development. It will compile, assemble and link the code that is being developed.
Checkout latest code:
hg clone http://ymorin.is-a-geek.org/hg/crosstool-ng
ct-ng menuconfig (tune some options for your needed)
It’s so easy, rock with your toolchains …