GCC's configure script requires gnat1, gnatbind, and gnatmake to be available as unversioned executables in PATH when building with Ada support. The previous detection logic only checked for gnat1 and used a lenient searchtool check for gnatbind, which could incorrectly enable Ada support when gnatmake was missing, causing configure to fail with "GNAT is required to build ada". In GNAT 15+, tools may only be available as versioned executables (e.g., gnatbind-15, gnatmake-15), but GCC configure still requires unversioned names. This change: 1. Adds explicit checks for gnatbind and gnatmake (unversioned) 2. Updates have_gnat() to require all three tools 3. Detects GNAT 15+ versioned tools and provides helpful error messages with instructions to create symlinks 4. Falls back to generic installation instructions if no GNAT tools are found This prevents the configure error and provides clear guidance for users with GNAT 15+ installations. Change-Id: Idc16ec48612e88fc9bdd16b343ae267aa20490f3 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90635 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com> |
||
|---|---|---|
| .. | ||
| patches | ||
| sum | ||
| tarballs | ||
| .gitignore | ||
| buildgcc | ||
| description.md | ||
| edk2tools.txt | ||
| getopt.c | ||
| Makefile | ||
| Makefile.mk | ||
| README | ||
README ------ This is a cross toolchain builder for -elf toolchains (ie. no libc support) known working: i386-elf x86_64-elf powerpc-elf arm-elf armv7a-eabi aarch64-elf known broken: alpha-elf powerpc64-elf