1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
.TH xmlada-config 1 "22 Dec 2003" "Debian GNU/Linux" "GNU Ada Tools"
.SH NAME
xmlada-config \- display compiler options for XML/Ada
.SH SYNOPSIS
\fBxmlada-config\fR \[options\]
.SH DESCRIPTION
\fBxmlada-config\fR 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
\fBmyapp\fR from a Bourne-like shell or a Makefile, you would call
\fBgnatmake\fR(1) thus:
\fBgnatmake\fR myapp `\fBxmlada-config\fR`
.SH OPTIONS
.IP --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 \fI/usr/share/ada/adainclude\fR,
\fI/usr/lib/ada/adalib\fR, and \fI/usr/lib\fR.
.PP
.IP --version,\ --v
Output the version of XML/Ada.
.PP
.IP --libs
Output the linker flags to use for XML/Ada.
.PP
.IP --cflags
Output the compiler flags to use for XML/Ada.
.PP
.IP --static
Output all the flags (compiler and linker) required to compile a
static version of your program.
.PP
.SH 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,
\fI/usr/share/ada/adainclude/xmlada.gpr\fR.
.SH "SEE ALSO"
.BR gnatmake (1)
.SH 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>.
|