Apparently `invoke_as:` directive in GCC spec file applies to running assembler on C/C++ compiler output. However compiling `assemble` (.s) and `assembler-with-cpp` pseudo-languages use `as` instead of ${target}-as) anyway. Fortunately GCC searches for `as` in libexec/gcc/$target/$version directory. Therefore add symlink to ${target}-as into that directory. Do the same thing for ar, ld, nm, objcopy, etc just in a case.
This repo contains a spec file for building aarch64 targeted GCC cross-toolchain. The actual sources are in gcc-source, binutils-source, glibc-source, and kernel-source-5.4 packages.
Description
Languages
Shell
88.9%
Assembly
5.3%
CMake
3.4%
C++
1.3%
C
1.1%