man xmlada-config (Commandes) - display compiler options for XML/Ada
NAME
xmlada-config - display compiler options for XML/Ada
SYNOPSIS
xmlada-config [options]
DESCRIPTION
xmlada-config prints compiler flags on standard output. You use these compiler flags to compile Ada programs that use the XML/Ada library. Various options allow you to choose between static and dynamic linking. For example, to compile an application named myapp from a Bourne-like shell or a Makefile, you would call gnatmake(1) thus:
gnatmake myapp `xmlada-config`
OPTIONS
- --prefix
- Output the directory in which XML/Ada is installed. Note that in Debian GNU/Linux, this does not make any sense because the files are scattered between /usr/share/ada/adainclude, /usr/lib/ada/adalib, and /usr/lib.
- --version, --v
- Output the version of XML/Ada.
- --libs
- Output the linker flags to use for XML/Ada.
- --cflags
- Output the compiler flags to use for XML/Ada.
- --static
- Output all the flags (compiler and linker) required to compile a static version of your program.
NOTES
This command is provided only for compatibility with the upstream distribution of XML/Ada. In Debian, the preferred way to use Ada libraries is to import the corresponding GNAT project file, /usr/share/ada/adainclude/xmlada.gpr.
SEE ALSO
AUTHOR
XML/Ada was developed by ACT-Europe; you can obtain commercial support by sending mail to <sales@gnat.com>. This manual page was written for the Debian project by Ludovic Brenta <ludovic.brenta@insalien.org>.