Blame SOURCES/npth-config.1

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