aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorc-grant <60671494+c-grant@users.noreply.github.com>2023-10-21 11:48:46 -0400
committerChris Packham <judge.packham@gmail.com>2023-11-02 20:48:03 +1300
commitf11d4d9c1e5663b4c734d1fc04021b35540f0582 (patch)
tree919c959b76cdde6cf519e8823821b016e42d1302
parentcf6b1740a14634406bb3426309dd92af8faa06fb (diff)
downloadcrosstool-ng-f11d4d9c1e5663b4c734d1fc04021b35540f0582.tar.gz
crosstool-ng-f11d4d9c1e5663b4c734d1fc04021b35540f0582.tar.bz2
crosstool-ng-f11d4d9c1e5663b4c734d1fc04021b35540f0582.zip
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>
-rw-r--r--TODO2
-rw-r--r--scripts/crosstool-NG.sh3
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