From f11d4d9c1e5663b4c734d1fc04021b35540f0582 Mon Sep 17 00:00:00 2001 From: c-grant <60671494+c-grant@users.noreply.github.com> Date: Sat, 21 Oct 2023 11:48:46 -0400 Subject: [PATCH] Add gnatls & gnatlink add gnatls and gnatlink to list of tools since it is needed to support Ada just like gnatmake and gnatbind Update crosstool-NG.sh & TODO Signed-off-by: c-grant <60671494+c-grant@users.noreply.github.com> --- TODO | 2 +- scripts/crosstool-NG.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index d030a9c3..834a20bf 100644 --- a/TODO +++ b/TODO @@ -87,7 +87,7 @@ A (slightly) ordered set of tasks for crosstool-NG. Written in a cryptic languag [ ] Common location for sources provided by ctng - duma.in, gdbinit.in, uclibc{,-ng}-config.in ... [ ] CTNG_LD_IS=bfd has no effect on subsequent build steps, as each step runs in its own environment [ ] Enable other languages in some sample(s): - [ ] Ada (?) - requires gnatbind/gnatmake on the host + [ ] Ada (?) - requires gnatbind/gnatmake/gnatls/gnatlink on the host [X] Seems to build [ ] Try to run [ ] Obj-C/C++ diff --git a/scripts/crosstool-NG.sh b/scripts/crosstool-NG.sh index 2269262d..08dbf0de 100644 --- a/scripts/crosstool-NG.sh +++ b/scripts/crosstool-NG.sh @@ -437,7 +437,7 @@ if [ -z "${CT_RESTART}" ]; then t="${!r}-" fi - for tool in ar as dlltool gcc gcc-ar gcc-nm gcc-ranlib g++ gcj gnatbind gdc gnatmake ld libtool nm objcopy objdump ranlib strip windres; do + for tool in ar as dlltool gcc gcc-ar gcc-nm gcc-ranlib g++ gcj gnatbind gdc gnatmake gnatls gnatlink ld libtool nm objcopy objdump ranlib strip windres; do # First try with prefix + suffix # Then try with prefix only # Then try with suffix only, but only for BUILD, and HOST iff REAL_BUILD == REAL_HOST @@ -485,6 +485,7 @@ if [ -z "${CT_RESTART}" ]; then # If any other is missing, only warn at low level *) # It does not deserve a WARN level. + # TBD Do we want to check for tools required by specific languages here? i.e gnat* if Ada is selected. CT_DoLog DEBUG " Missing: '${t}${tool}${!s}' or '${t}${tool}' or '${tool}' : not required." ;; esac