# Build order * $target-binutils * cross-$target-gcc-core * $target-linux-api-headers * cross-$target-glibc-headers * cross-$target-gcc-core-shared * $target-glibc * $target-gcc * $target-glibc with BOOTSTRAPING=false cross-* packages are used to bootstrap the full toolchain for the first time, you'll only need binutils, linux-api-headers, glibc and gcc once you're done. # Create a new toolchain Copy the base PKGBUILDS from mips64el-unknown-linux-gnu and change this part of the names to your target. At the header of each PKGBUILD there're several variables to configure the target system. Take note some require other manual changes, like final gcc.