]> git.saurik.com Git - wxWidgets.git/blame - debian/wx-config.1
fixed broken test in configure: no, DJGPP really is not UNIX...
[wxWidgets.git] / debian / wx-config.1
CommitLineData
07eb77a6 1.TH wx-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows 2.2"
e4c4c1c6 2.SH NAME
07eb77a6 3wx-config - generate compile time info for wxWindows
e4c4c1c6
RL
4.SH SYNOPSIS
5.nh
07eb77a6
RL
6.B wxbase-config
7.br
8.B wxgtk-config
e4c4c1c6
RL
9.HP
10.B wx-config
11[\-\-version] [\-\-libs] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
12[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP]
e4c4c1c6 13.SH DESCRIPTION
07eb77a6
RL
14\fIwx-config\fP is a tool to determine the compiler and linker
15flags required for applications using the \fIwxWindows\fP toolkit(s).
e4c4c1c6 16.PP
07eb77a6
RL
17\fIwx-config\fP is normally a symlink to one of the port-specific
18versions like \fIwxbase-config\fP or \fIwxgtk-config\fP which
19designates the default port to compile applications with.
20You can override this default either by using one of the specific
21versions directly, or by changing which version the symlink points to.
22On Debian systems this can be done using the
23.BR update-alternatives (8)
24mechanism.
25.hy
e4c4c1c6
RL
26.SH OPTIONS
27.l
28\fIwx-config\fP accepts the following options:
29.TP 8
30.B \-\-version
07eb77a6
RL
31What to
32.B ALWAYS
33include in a bug report.
34.br
35( But of course you already knew that ... )
e4c4c1c6
RL
36.TP 8
37.B \-\-libs
07eb77a6 38Generate linker flags for a \fIwxWindows\fP program.
e4c4c1c6
RL
39.TP 8
40.B \-\-cflags
07eb77a6 41Generate compiler flags for the same.
e4c4c1c6
RL
42.TP 8
43.B \-\-cc
44Output the name of the C compiler \fB$(CC)\fP.
45.TP 8
46.B \-\-cxx
47Output the name of the C++ compiler \fB$(CXX)\fP.
48.TP 8
49.B \-\-ld
50Output the Linker command \fB$(LD)\fP.
51.TP 8
52.B \-\-prefix=PREFIX
07eb77a6 53If specified, use PREFIX instead of the installation prefix that \fIwxWindows\fP
e4c4c1c6
RL
54was built with when computing the output for the \-\-cflags and
55\-\-libs options. This option is also used for the exec prefix
56if \-\-exec\-prefix was not specified. This option must be specified
57before any \-\-libs or \-\-cflags options.
e0a4aa8a 58.br
07eb77a6
RL
59.nh
60.HP
61(Translation: this is the root path to the \fIwxWindows\fP headers -- [Ron])
62.hy
e4c4c1c6
RL
63.TP 8
64.B \-\-exec\-prefix=PREFIX
65If specified, use PREFIX instead of the installation exec prefix that
07eb77a6 66\fIwxWindows\fP was built with when computing the output for the \-\-cflags
e4c4c1c6
RL
67and \-\-libs options. This option must be specified before any
68\-\-libs or \-\-cflags options.
e0a4aa8a 69.br
07eb77a6
RL
70.nh
71.HP
72(Translation: this is the root path to the \fIwxWindows\fP library -- [Ron])
73.hy
e4c4c1c6 74.SH SEE ALSO
07eb77a6
RL
75.BR gtk-config (1),
76.BR update-alternatives (8)
e4c4c1c6
RL
77.SH COPYRIGHT
78This manpage was copied whole-heartedly from the \fBgtk-config\fP(1) manpage
79by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
07eb77a6 80wxGTK. It was then updated to include new options and otherwise bastardised
e4c4c1c6
RL
81generally by Ron Lee <ron@debian.org>
82
83The original gtk-config manpage copyright:
84
85Copyright \(co 1995 Spencer Kimball and Peter Mattis
86
87Permission to use, copy, modify, and distribute this software and its
88documentation for any purpose and without fee is hereby granted,
89provided that the above copyright notice appear in all copies and that
90both that copyright notice and this permission notice appear in
91supporting documentation.