How to build gcc cross-compile toolchain

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.

Design a site like this with WordPress.com
Get started