what is the standard ada include 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?


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.

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

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).


I use gnatmake to build; how do I cite my build paths in a correct way?

The relevant options are shown in 6.2 Switches for gnatmake: Source and library search path switches.

Addendum: The development package is libapq3.2.0-dev.


    The manual is in /usr/share/doc/libapq3.2.0-dev/manual.pdf.gz

    </li> <li>

    An example and corresponding .gpr file are in /usr/share/doc/libapq3.2.0-dev/examples. As @Simon suggested, the .gpr file begins:

    with "apq.gpr"; project APQ.Samples is </li> <li>

    The Ada include files are in /usr/share/ada/adainclude/apq.

    </li> <li>

    The libraries are in /usr/lib.

    </li> </ul>
    $ dpkg -L libapq3.2.0-dev


  • python's cryptography throwing AttributeError: 'int' object has no attribute 'va
  • How to make a CURL call to rasa nlu trainer
  • Setting the RPATH for external projects?
  • Python Error with sklearn.model_selection.train_test_split : ValueError: Found input variables with
  • SVN merge trunk into branch deleting files
  • Maven, how to copy files?
  • Calling a cython library with multiple pyx files through c++
  • i want to retrieve password from database but when program run result be null i don not know why?
  • Best way to incorporate javascript in php?
  • Configure Google Cloud SQL instance in Eclipse
  • Extract the last directory of a pwd output
  • Git + Smart HTTP problems (cannot push/pull)
  • Python process keeps growing in django db upload script
  • what is the standard ada include path
  • Cross compilation for ARM using Bazel custom toolchain
  • Does Apportable support to build library binary (.a/.so)?
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Switching to Release Build causes runtime error in Web Reference
  • Installing Hadoop, Java Exception about illegal characters at index 7?
  • Why HTML5 Canvas with a larger size stretch a drawn line?
  • Spray.io: When (not) to use non-blocking route handling?
  • Modifying destination and filename of gulp-svg-sprite
  • Join two tables and save into third-sql
  • Convert array of 8 bytes to signed long in C++
  • Timeout for blocking function call, i.e., how to stop waiting for user input after X seconds?
  • QuartzCore.framework for Mono Develop
  • GridView Sorting works once only
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Windows forms listbox.selecteditem displaying “System.Data.DataRowView” instead of actual value
  • Proper folder structure for lots of source files
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Understanding cpu registers
  • -fvisibility=hidden not passed by compiler for Debug builds
  • coudnt use logback because of log4j
  • How does Linux kernel interrupt the application?
  • Recursive/Hierarchical Query Using Postgres
  • Running Map reduces the dimensions of the matrices
  • Net Present Value in Excel for Grouped Recurring CF