How to build gcc cross-compile toolchain
December 14, 2015 Leave a comment
This post tells almost everything you need to know about building gcc cross-compile toolchain.
One thing needs to be noticed, when build binutils in 2nd step, you have to specify sysroot with –with-sysroot=path/to/sys/root/. Otherwise some cross-compile tools (i.e. ld) will not properly configured.