Blame SOURCES/npth-config.1

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