Hi Lee
How is the new build of GCC4.7 going, is it ready for launching into the RISC OS world or have I missed the announcement? Best wishes Norman
On Sun, 10 May 2020 at 03:40, Steffen Huber <steffen@huber-net.de> wrote:
Hi Lee,
> Lee Noar <lee.noar@sky.com> wrote:
>
> Unfortunately, I've not been able to build GNAT. The build always fails
> with:
>
> a-cbdlli.ads:38:14: violation of restriction "No_Finalization" at
> system.ads:47
I think this is a problem of supplying the correct system.ads for ARM/RISC OS. system.ads contains a lot of base specifications for the respective platform - endianess, exception stuff, pragmas for selecting things related to implementation of the Ada runtime.
> I've even tried building GCC 9.3 in the hope that they've fixed it,
> but the result is the same. Perhaps this is the incompatibility you
> mention.
The incompatibility I know of is a detail in the ARM backend which is only triggered by Ada (something wrt trampolines when implementing exceptions) but not by C/C++ which is the only thing the ARM backend maintainers have in focus.
Thanks anyway - I should really look into this myself (since I am probably the only one with a vague interest in Ada), but I fear the learning curve. I think there are a lot of options nowadays to reduce relying on large parts of the standard runtime, and for my only Ada project, I only need an absolute minimum runtime (probably the equivalent of the SharedCLib) and could even replace a lot of that.
Steffen
--
Steffen Huber LambdaComm System – Welcome to Trollinger Country
steffen@huber-net.de
Private homepage http://www.huber-net.de/
RISC OS Blog http://riscosblog.huber-net.de/
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment