I strongly recommend using a system that is designed to build cross compilers/toolchains. Either the crosstool
or newer crosstool-ng
packages seem to be the most common ones. I've used crosstool
, and am looking into setting up a crosstool-ng
Building cross toolchains carries a whole host of issues that are not solved by simply downloading and building GCC. These packages address those issues.