如何在7.4上为GNAT编译ASIS? [英] How do I compile ASIS for GNAT on 7.4?

查看:67
本文介绍了如何在7.4上为GNAT编译ASIS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从存储库此处下载了代码,并运行了读取README文件后,执行 make 命令(该文件很长,因此我可能错过了其中的一些内容)。

I've downloaded the code from the repository here, and have run the make command after reading the README file (which is quite long, so I probably missed some things in it).

我收到一个构建错误,其来源尚不清楚。 make 过程终止于以下情况:

I'm getting a build error, the source of which is not altogether clear. The make process terminates in the following:

compilation of asis-data_decomposition-set_get.adb failed
compilation of asis-text.adb failed
compilation of a4g-contt-dp.adb failed

gprbuild: *** compilation phase failed

请参见此pastebin 表示 make 的完整输出。我需要做什么来构建ASIS(其最终目标是使我能够运行 AdaControl 生成过程)?

See this pastebin for the full output of make. What do I need to do to build ASIS (the end goal of which is to enable me to run the AdaControl build process)?

推荐答案

自述文件中最重要的注释(希望如此)是),您必须使用匹配版本的GNAT和ASIS4GNAT才能正常工作。

The most important comment in the README (I hope it is there) is that you have to use matching versions of GNAT and ASIS4GNAT, for anything to work.

您的编译器似乎是GNAT Pro 2.3.2,而最新的在您使用的ASIS系统信息库中提交似乎是针对GNAT GPL2017。它们绝对不是匹配版本,因此它不起作用。

Your compiler seems to be GNAT Pro 2.3.2, while the latest commit in the ASIS repository you use seems to be for GNAT GPL 2017. They are definitely not matching versions, so it shouldn't work.

您应该找到/下载ASIS4GNAT适用于GNAT Pro 2.3.2并进行构建。 -或将编译器切换到GNAT GPL 2017。

You should find/download ASIS4GNAT for GNAT Pro 2.3.2 and build that. - Or switch compilers to GNAT GPL 2017.

这篇关于如何在7.4上为GNAT编译ASIS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆