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>
This commit is contained in:
c-grant 2023-10-21 11:48:46 -04:00 committed by Chris Packham
parent cf6b1740a1
commit f11d4d9c1e
2 changed files with 3 additions and 2 deletions

2
TODO
View File

@ -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++

View File

@ -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