comp.lang.ada
 help / color / mirror / Atom feed
* GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali
@ 2021-11-07 10:41 Frank Jørgen Jørgensen
  2021-11-07 16:38 ` Jesper Quorning
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Jørgen Jørgensen @ 2021-11-07 10:41 UTC (permalink / raw)


Hi! 

I installed GNAT Community 2021 64bit via MinGW32 (I sense an inconsistensy here but this is what I did for GNAT2020 and and REAME in PolyORBS says to use MinGW32...) in Windows 10 Pro

Installation went ok after the usual messing with wrong paths and missing Python :)
When I compile a normal, Non-DSA program with GtkAda it works fine.

When I compile the bank application in the PolyORB or my own DSA application I get an error referring to a-sttebu.ali which I suspect is something new in GNAT 2021 to handle the improved 'Img functionality in Ada 202X.

I am guessing that the issue here is that the PolyORB is not up to date with GNAT 2021 compiler, or have I missed something in installation?

C:\Ada\Git\PolyORB\examples\dsa\bank>po_gnatdist simcity.cfg
C:\GNAT\2021\bin\gnat.exe list polyorb.ali -Ppolyorb -s -aPC:\GNAT\2021\lib\gnat
C:\GNAT\2021\bin\gprbuild.exe simcity_monolithic_app.adb -c -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -margs -aPC:\GNAT\2021\lib\gnat
Compile
   [Ada]          simcity_monolithic_app.adb
C:\GNAT\2021\bin\gnat.exe list simcity_monolithic_app.ali -V -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -aPC:\GNAT\2021\lib\gnat
C:\GNAT\2021\bin\gnat.exe list a-sttebu.ali client.ali manager.ali polyorb.ali polyorb-dsa_p.ali polyorb-dsa_p-partitions.ali server.ali -V -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -aPC:\GNAT\2021\lib\gnat
Can't find source for a-sttebu.ali
C:\GNAT\2021\bin\gnat.exe compile C:/gnat/2021/lib/gcc/x86_64-w64-mingw32/10.3.1/adainclude/a-sttebu.adb -gnatc -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -margs -aPC:\GNAT\2021\lib\gnat
gprbuild: "c:/gnat/2021/lib/gcc/x86_64-w64-mingw32/10.3.1/adainclude/a-sttebu.adb" was not found in the sources of any project
C:\GNAT\2021\bin\gnat.exe list a-sttebu.ali -V -P C:\Ada\Git\PolyORB\examples\dsa\bank\dsa\i686-pc-mingw32\simcity_dist_app.gpr -aPC:\GNAT\2021\lib\gnat
Can't find source for a-sttebu.ali
po_gnatdist: failed to load ALI for C:/gnat/2021/lib/gcc/x86_64-w64-mingw32/10.3.1/adainclude/a-sttebu.adb
po_gnatdist: *** can't continue

Frank

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali
  2021-11-07 10:41 GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali Frank Jørgen Jørgensen
@ 2021-11-07 16:38 ` Jesper Quorning
  2021-11-08  9:04   ` Simon Wright
  0 siblings, 1 reply; 3+ messages in thread
From: Jesper Quorning @ 2021-11-07 16:38 UTC (permalink / raw)


søndag den 7. november 2021 kl. 11.41.35 UTC+1 skrev Frank Jørgen Jørgensen:
> When I compile the bank application in the PolyORB or my own DSA application I get an error referring to a-sttebu.ali which I suspect is something new in GNAT 2021 to handle the improved 'Img functionality in Ada 202X. 

a-sttebu.ali is the package Ada.Strings.Text_Buffers (.ali), which is a recent invention [1].
It is not part of FSF 10.3.0 or FSF 11.2.0.

> I am guessing that the issue here is that the PolyORB is not up to date with GNAT 2021 compiler, or have I missed something in installation? 
I do not know why it is needed by your application.


Jesper

[1] https://learn-staging.adacore.com/courses/ada_2022_whats_new/chapters/image_redefine.html#

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali
  2021-11-07 16:38 ` Jesper Quorning
@ 2021-11-08  9:04   ` Simon Wright
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Wright @ 2021-11-08  9:04 UTC (permalink / raw)


Jesper Quorning <jesper.quorning@gmail.com> writes:

> [1]
> https://learn-staging.adacore.com/courses/ada_2022_whats_new/chapters/image_redefine.html#

Most of us can't see this (but looking forward!).

In the meantime, see the 202x ARM A.4.12:
http://www.ada-auth.org/standards/2xrm/html/RM-A-4-12.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-08  9:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-07 10:41 GNAT Community 2021 and PolyORB: Can't find source for a-sttebu.ali Frank Jørgen Jørgensen
2021-11-07 16:38 ` Jesper Quorning
2021-11-08  9:04   ` Simon Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox