]> git.ipfire.org Git - thirdparty/gcc.git/commit
Ada: Replace hardcoded GNAT commands for GNAT tools
authorNicolas Boulenguez <nicolas@debian.org>
Sun, 22 Jun 2025 22:37:35 +0000 (00:37 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Sun, 22 Jun 2025 22:56:23 +0000 (00:56 +0200)
commit8440db955b274472234071f79a35b504e96dc3d1
treee470bccf1da5a1cecae501d7dc5903af3e706c50
parent596ab7c67f05f45f94e527830404c391141ec85c
Ada: Replace hardcoded GNAT commands for GNAT tools

This replaces the hardcoded gnat{make,link,bind,ls} commands with expansion
of the GNAT{MAKE,BIND} variables computed by the configure machinery, during
the build of the GNAT tools.

The default GNATMAKE_FOR_HOST duplicates the default GNATMAKE, and someone
setting GNATMAKE in the toplevel configuration may want it applied for all
host compilations.  Direct assignment of GNATMAKE_FOR_HOST keeps working.

gcc/ada/
PR ada/120106
* gcc-interface/Make-lang.in: Set GNAT{MAKE,BIND,LINK_LS}_FOR_HOST
from GNAT{MAKE,BIND} instead of using hardcoded commands.
gnattools/
PR ada/120106
* configure.ac: Remove ACX_NONCANONICAL_HOST and add ACX_PROG_GNAT.
* configure: Regenerate.
* Makefile.in: Do not substitute host_noncanonical but substitute
GNATMAKE and GNATBIND.
Set GNAT{MAKE,BIND,LINK_LS}_FOR_HOST from GNAT{MAKE,BIND} instead
of using hardcoded commands.
gcc/ada/gcc-interface/Make-lang.in
gnattools/Makefile.in
gnattools/configure
gnattools/configure.ac