Blame SOURCES/npth-config.1

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