Hello Emanuel,
I cannot say anything about your specific issue. I can just provide this
information:
Our CI/CD builds rtems-tools with ADA on Ubuntu 22.04 for RSB, Git
commit 35c73203df1e0bc7f0935cfb37ebc6581d8f1103 for aarch64, arm, bfin,
i386, m68k, mips, moxie, nios2, or1k, powerpc, riskv, sparc, x86_64. The
other architectures seem to have problems. Moreover, ADA is only build
but not tested.
The big issue between building with and without ADA comes down to have
Ubuntu specially setup for the RTEMS Source Builder to being able to
build ADA. I need these packages:
bzip2
gcc-12
g++-12
gnat-12
And I need the following links (all g** compiler tools must have the
same version 12 and all must be available without the "-12" postfix):
ln -s gcc /usr/bin/cc
for exe in /usr/bin/gcc*12 /usr/bin/gcov*12 /usr/bin/g++*12; do
ln -s $exe ${exe%-12}
done
Greetings
Frank
On 10/4/23 19:02, emanuel stiebler wrote:
Subject:
ADA, gnat, rtems 6, ubuntu 22LTS
From:
emanuel stiebler <e...@e-bbes.com>
Date:
10/4/23, 19:02
To:
"rtems-de...@rtems.org" <devel@rtems.org>
I just tried to compile the tools for rtems6,
and just with "C", everything(?) works.
Trying to add ADA to the tools, it fails, complaining about gnat not
being installed.
In the logfile:
hecking for objdir... .libs
configure: WARNING: using in-tree isl, disabling version check
configure: error: GNAT is required to build ada
shell cmd failed: /bin/sh -ex
/AD1/PUB/RTEMS.work/rsb/rtems/build/aarch64-rtems6-gcc-506cb58-newlib-a021448-x86_64-linux-gnu-1/do-build
error: building
aarch64-rtems6-gcc-506cb58-newlib-a021448-x86_64-linux-gnu-1emu@W531:/AD1/PUB/RTEMS.work/rsb/rtems$
but "gnat" gives me:
DDD@W531:/AD1/PUB/RTEMS.work/rsb/rtems$ gnat
GNAT 12.3.0
Copyright 1996-2022, Free Software Foundation, Inc.
To list Ada build switches use --help-ada
List of available commands
gnat bind x86_64-linux-gnu-gnatbind-12
gnat chop x86_64-linux-gnu-gnatchop-12
gnat clean x86_64-linux-gnu-gnatclean-12
gnat compile x86_64-linux-gnu-gnatmake-12 -f -u -c
gnat check x86_64-linux-gnu-gnatcheck-12
gnat elim x86_64-linux-gnu-gnatelim-12
gnat find x86_64-linux-gnu-gnatfind-12
gnat krunch x86_64-linux-gnu-gnatkr-12
gnat link x86_64-linux-gnu-gnatlink-12
gnat list x86_64-linux-gnu-gnatls-12
gnat make x86_64-linux-gnu-gnatmake-12
gnat metric x86_64-linux-gnu-gnatmetric-12
gnat name x86_64-linux-gnu-gnatname-12
gnat preprocess x86_64-linux-gnu-gnatprep-12
gnat pretty x86_64-linux-gnu-gnatpp-12
gnat stack x86_64-linux-gnu-gnatstack-12
gnat stub x86_64-linux-gnu-gnatstub-12
gnat test x86_64-linux-gnu-gnattest-12
gnat xref x86_64-linux-gnu-gnatxref-12
Report bugs to rep...@adacore.com
What am I missing?
(GIT version of yesterday ...)
Cheers & Thanks
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
--
embedded brains GmbH & Co. KG
Herr Frank KÜHNDEL
Dornierstr. 4
82178 Puchheim
Germany
email: frank.kuehn...@embedded-brains.de
phone: +49-89-18 94 741 - 23
mobile: +49-176-15 22 06 - 11
Registergericht: Amtsgericht München
Registernummer: HRA 117265
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel