什么是标准ada包含路径 [英] what is the standard ada include path

查看:165
本文介绍了什么是标准ada包含路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用gnat4.6在Ubuntu安装使用apt-get。我需要知道如何安装下载的库,如 APQ 。我应该将 ADA_INCLUDE_PATH ADA_OBJECTS_PATH 设置为?

Im using gnat4.6 on Ubuntu installed using apt-get. I need to know where to install downloaded libraries like APQ. What should I set my ADA_INCLUDE_PATH and ADA_OBJECTS_PATH to?

推荐答案

在Debian(Ubuntu是基于)的Ada支持的美丽是,你不需要混淆 ADA_INCLUDE_PATH 朋友;支持的库安装在GNAT项目经理希望找到的位置。请说 gnatls -v 可查看默认值。

The beauty of Ada support in Debian (on which Ubuntu is based) is that you don't need to mess with ADA_INCLUDE_PATH and friends; supported libraries are installed where the GNAT Project Manager expects to find them. Say gnatls -v to see the default values.

要使用系统,使用GNAT项目经理更简单;您可以在 my_project.gpr 文件中

To use the system as intended, you will find it much simpler to use the GNAT Project Manager; you'd say, in your my_project.gpr file,

with "apq";
project My_Project is
   ...



and build with

$ gnatmake -P my_project


$ b b

GPR在线文档,但我不会不会称它特别方便用户。有一组Youtube视频(我没有详细地看过他们;他们表示兴趣是大系统,但挂在那里)。

There's online documentation for GPR, but I wouldn't call it particularly user-friendly. There's a set of Youtube videos (I haven't looked at them in any detail; their stated interest is large systems, but hang in there).

这篇关于什么是标准ada包含路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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