编译交叉编译器有2种方法
方法一:手工编译
http://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/
https://how-to-build-for-arm.wikispaces.com/gcc-4_8_2
方法二:利用工具编译
a.Buildroot
b.crosstool-ng http://crosstool-ng.org/#download_and_usage
crosstool-ng-1.20.0 uclibc 编译通过。