This is supported in this GCC fork. [1] It has been packaged in Nixpkgs since 2019. [2]
Their change to `config.sub` [3] is similar, but also includes a `vc4` -> `vc4-unknown-elf` shorthand; I don't see any reasons to add any new legacy 1-component short-hands, so I just skipped that part. [1]: https://github.com/itszor/vc4-toolchain [2]: https://github.com/NixOS/nixpkgs/pull/72657 [3]: https://github.com/itszor/gcc-vc4/commit/91278afabe61808c0b02078c078e758d69f94aff * config.sub (vc4-*): Recognize. * testsuite/config-sub.data (vc4-unknown-none-elf): New entries. --- config.sub | 1 + testsuite/config-sub.data | 1 + 2 files changed, 2 insertions(+) diff --git a/config.sub b/config.sub index defe52c..b727399 100755 --- a/config.sub +++ b/config.sub @@ -1253,6 +1253,7 @@ case $cpu-$vendor in | ubicom32 \ | v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \ | vax \ + | vc4 \ | visium \ | w65 \ | wasm32 | wasm64 \ diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index f36bea2..0cdaca6 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -854,6 +854,7 @@ v850e2v3-elf v850e2v3-unknown-elf v850es v850es-unknown-none v850es-elf v850es-unknown-elf vax vax-dec-ultrix4.2 +vc4-unknown-none-elf vc4-unknown-none-elf vaxv vax-dec-sysv visium visium-unknown-none visium-elf visium-unknown-elf -- 2.40.1