Blame SPECS/npth-config.1

Packit a9e5e3
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
Packit a9e5e3
.\"
Packit a9e5e3
.\" Standard preamble:
Packit a9e5e3
.\" ========================================================================
Packit a9e5e3
.de Sh \" Subsection heading
Packit a9e5e3
.br
Packit a9e5e3
.if t .Sp
Packit a9e5e3
.ne 5
Packit a9e5e3
.PP
Packit a9e5e3
\fB\\$1\fR
Packit a9e5e3
.PP
Packit a9e5e3
..
Packit a9e5e3
.de Sp \" Vertical space (when we can't use .PP)
Packit a9e5e3
.if t .sp .5v
Packit a9e5e3
.if n .sp
Packit a9e5e3
..
Packit a9e5e3
.de Vb \" Begin verbatim text
Packit a9e5e3
.ft CW
Packit a9e5e3
.nf
Packit a9e5e3
.ne \\$1
Packit a9e5e3
..
Packit a9e5e3
.de Ve \" End verbatim text
Packit a9e5e3
.ft R
Packit a9e5e3
.fi
Packit a9e5e3
..
Packit a9e5e3
.\" Set up some character translations and predefined strings.  \*(-- will
Packit a9e5e3
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
Packit a9e5e3
.\" double quote, and \*(R" will give a right double quote.  | will give a
Packit a9e5e3
.\" real vertical bar.  \*(C+ will give a nicer C++.  Capital omega is used to
Packit a9e5e3
.\" do unbreakable dashes and therefore won't be available.  \*(C` and \*(C'
Packit a9e5e3
.\" expand to `' in nroff, nothing in troff, for use with C<>.
Packit a9e5e3
.tr \(*W-|\(bv\*(Tr
Packit a9e5e3
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
Packit a9e5e3
.ie n \{\
Packit a9e5e3
.    ds -- \(*W-
Packit a9e5e3
.    ds PI pi
Packit a9e5e3
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
Packit a9e5e3
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
Packit a9e5e3
.    ds L" ""
Packit a9e5e3
.    ds R" ""
Packit a9e5e3
.    ds C` ""
Packit a9e5e3
.    ds C' ""
Packit a9e5e3
'br\}
Packit a9e5e3
.el\{\
Packit a9e5e3
.    ds -- \|\(em\|
Packit a9e5e3
.    ds PI \(*p
Packit a9e5e3
.    ds L" ``
Packit a9e5e3
.    ds R" ''
Packit a9e5e3
'br\}
Packit a9e5e3
.\"
Packit a9e5e3
.\" If the F register is turned on, we'll generate index entries on stderr for
Packit a9e5e3
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
Packit a9e5e3
.\" entries marked with X<> in POD.  Of course, you'll have to process the
Packit a9e5e3
.\" output yourself in some meaningful fashion.
Packit a9e5e3
.if \nF \{\
Packit a9e5e3
.    de IX
Packit a9e5e3
.    tm Index:\\$1\t\\n%\t"\\$2"
Packit a9e5e3
..
Packit a9e5e3
.    nr % 0
Packit a9e5e3
.    rr F
Packit a9e5e3
.\}
Packit a9e5e3
.\"
Packit a9e5e3
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
Packit a9e5e3
.\" way too many mistakes in technical documents.
Packit a9e5e3
.hy 0
Packit a9e5e3
.if n .na
Packit a9e5e3
.\"
Packit a9e5e3
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Packit a9e5e3
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
Packit a9e5e3
.    \" fudge factors for nroff and troff
Packit a9e5e3
.if n \{\
Packit a9e5e3
.    ds #H 0
Packit a9e5e3
.    ds #V .8m
Packit a9e5e3
.    ds #F .3m
Packit a9e5e3
.    ds #[ \f1
Packit a9e5e3
.    ds #] \fP
Packit a9e5e3
.\}
Packit a9e5e3
.if t \{\
Packit a9e5e3
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
Packit a9e5e3
.    ds #V .6m
Packit a9e5e3
.    ds #F 0
Packit a9e5e3
.    ds #[ \&
Packit a9e5e3
.    ds #] \&
Packit a9e5e3
.\}
Packit a9e5e3
.    \" simple accents for nroff and troff
Packit a9e5e3
.if n \{\
Packit a9e5e3
.    ds ' \&
Packit a9e5e3
.    ds ` \&
Packit a9e5e3
.    ds ^ \&
Packit a9e5e3
.    ds , \&
Packit a9e5e3
.    ds ~ ~
Packit a9e5e3
.    ds /
Packit a9e5e3
.\}
Packit a9e5e3
.if t \{\
Packit a9e5e3
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
Packit a9e5e3
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
Packit a9e5e3
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
Packit a9e5e3
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
Packit a9e5e3
.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
Packit a9e5e3
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
Packit a9e5e3
.\}
Packit a9e5e3
.    \" troff and (daisy-wheel) nroff accents
Packit a9e5e3
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
Packit a9e5e3
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
Packit a9e5e3
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
Packit a9e5e3
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
Packit a9e5e3
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
Packit a9e5e3
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
Packit a9e5e3
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
Packit a9e5e3
.ds ae a\h'-(\w'a'u*4/10)'e
Packit a9e5e3
.ds Ae A\h'-(\w'A'u*4/10)'E
Packit a9e5e3
.    \" corrections for vroff
Packit a9e5e3
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
Packit a9e5e3
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
Packit a9e5e3
.    \" for low resolution devices (crt and lpr)
Packit a9e5e3
.if \n(.H>23 .if \n(.V>19 \
Packit a9e5e3
\{\
Packit a9e5e3
.    ds : e
Packit a9e5e3
.    ds 8 ss
Packit a9e5e3
.    ds o a
Packit a9e5e3
.    ds d- d\h'-1'\(ga
Packit a9e5e3
.    ds D- D\h'-1'\(hy
Packit a9e5e3
.    ds th \o'bp'
Packit a9e5e3
.    ds Th \o'LP'
Packit a9e5e3
.    ds ae ae
Packit a9e5e3
.    ds Ae AE
Packit a9e5e3
.\}
Packit a9e5e3
.rm #[ #] #H #V #F C
Packit a9e5e3
.\" ========================================================================
Packit a9e5e3
.\"
Packit a9e5e3
.IX Title "NPTH-CONFIG 1"
Packit a9e5e3
.TH NPTH-CONFIG 1 "GNU nPth 2.0.7" "08-Jun-2006" "GNU Portable Threads"
Packit a9e5e3
.SH "NAME"
Packit a9e5e3
\&\fBnpth\-config\fR \- nPth library build utility
Packit a9e5e3
.SH "VERSION"
Packit a9e5e3
.IX Header "VERSION"
Packit a9e5e3
\&\s-1GNU\s0 nPth \s-10.91\s0
Packit a9e5e3
.SH "SYNOPSIS"
Packit a9e5e3
.IX Header "SYNOPSIS"
Packit a9e5e3
\&\fBnpth-config\fR
Packit a9e5e3
[\fB\-\-help\fR]
Packit a9e5e3
[\fB\-\-version\fR]
Packit a9e5e3
[\fB\-\-all\fR]
Packit a9e5e3
[\fB\-\-prefix\fR]
Packit a9e5e3
[\fB\-\-exec\-prefix\fR]
Packit a9e5e3
[\fB\-\-bindir\fR]
Packit a9e5e3
[\fB\-\-libdir\fR]
Packit a9e5e3
[\fB\-\-includedir\fR]
Packit a9e5e3
[\fB\-\-mandir\fR]
Packit a9e5e3
[\fB\-\-datadir\fR]
Packit a9e5e3
[\fB\-\-acdir\fR]
Packit a9e5e3
[\fB\-\-cflags\fR]
Packit a9e5e3
[\fB\-\-ldflags\fR]
Packit a9e5e3
[\fB\-\-libs\fR]
Packit a9e5e3
.SH "DESCRIPTION"
Packit a9e5e3
.IX Header "DESCRIPTION"
Packit a9e5e3
The \fBnpth-config\fR program is a little helper utility for easy configuring and
Packit a9e5e3
building applications based on the \fInpth\fR\|(3) library.  It can be used to query the
Packit a9e5e3
C compiler and linker flags which are required to correctly compile and link
Packit a9e5e3
the application against the \fInpth\fR\|(3) library.
Packit a9e5e3
.SH "OPTIONS"
Packit a9e5e3
.IX Header "OPTIONS"
Packit a9e5e3
\&\fBnpth-config\fR accepts the following options:
Packit a9e5e3
.IP "\fB\-\-thread\fR" 4
Packit a9e5e3
.IX Item "--thread"
Packit a9e5e3
Specify thread module to use.
Packit a9e5e3
.IP "\fB\-\-prefix\fR" 4
Packit a9e5e3
.IX Item "--prefix"
Packit a9e5e3
Prints the installation prefix of architecture independent files
Packit a9e5e3
.IP "\fB\-\-exec\-prefix\fR" 4
Packit a9e5e3
.IX Item "--exec-prefix"
Packit a9e5e3
Prints the installation prefix of architecture dependent files.
Packit a9e5e3
.IP "\fB\-\-version\fR" 4
Packit a9e5e3
.IX Item "--version"
Packit a9e5e3
Prints the version number and date of the installed \fInpth\fR\|(3) library.
Packit a9e5e3
\&\fBnPth\fR specific.
Packit a9e5e3
.IP "\fB\-\-api\-version\fR" 4
Packit a9e5e3
.IX Item "--api-version"
Packit a9e5e3
Prints the API version of the installed \fInpth\fR\|(3) library.
Packit a9e5e3
.IP "\fB\-\-host\fR" 4
Packit a9e5e3
.IX Item "--host"
Packit a9e5e3
Prints host triplet.
Packit a9e5e3
.IP "\fB\-\-libs\fR" 4
Packit a9e5e3
.IX Item "--libs"
Packit a9e5e3
Prints the library flags (\f(CW\*(C`\-l\*(C'\fR) which are needed to link the application with
Packit a9e5e3
the \fInpth\fR\|(3) library. The output is usually added to the \f(CW\*(C`LIBS\*(C'\fR variable of the
Packit a9e5e3
applications \f(CW\*(C`Makefile\*(C'\fR.
Packit a9e5e3
.IP "\fB\-\-cflags\fR" 4
Packit a9e5e3
.IX Item "--cflags"
Packit a9e5e3
Prints the C compiler flags which are needed to compile the \fInpth\fR\|(3)\-based
Packit a9e5e3
application. The output is usually added to the \f(CW\*(C`CFLAGS\*(C'\fR variable of the
Packit a9e5e3
applications \f(CW\*(C`Makefile\*(C'\fR.
Packit a9e5e3
.SH "EXAMPLE"
Packit a9e5e3
.IX Header "EXAMPLE"
Packit a9e5e3
.Vb 3
Packit a9e5e3
\& CC      = cc
Packit a9e5e3
\& CFLAGS  = -O `npth-config --cflags`
Packit a9e5e3
\& LIBS    = -lm `npth-config --libs`
Packit a9e5e3
.Ve
Packit a9e5e3
.PP
Packit a9e5e3
.Vb 5
Packit a9e5e3
\& all: foo
Packit a9e5e3
\& foo: foo.o
Packit a9e5e3
\&     $(CC) -o foo foo.o $(LIBS)
Packit a9e5e3
\& foo.o: foo.c
Packit a9e5e3
\&     $(CC) $(CFLAGS) -c foo.c
Packit a9e5e3
.Ve
Packit a9e5e3
.SH "SEE ALSO"
Packit a9e5e3
.IX Header "SEE ALSO"
Packit a9e5e3
\&\fInpth\fR\|(3), \fIcc\fR\|(1).
Packit a9e5e3
.SH "AUTHOR"
Packit a9e5e3
.IX Header "AUTHOR"
Packit a9e5e3
.Vb 3
Packit a9e5e3
\& Ralf S. Engelschall
Packit a9e5e3
\& rse@engelschall.com
Packit a9e5e3
\& www.engelschall.com
Packit a9e5e3
.Vb 3
Packit a9e5e3
Packit a9e5e3
\& Milan Bartos
Packit a9e5e3
\& mbartos@redhat.com
Packit a9e5e3
.Ve