]> git.saurik.com Git - wxWidgets.git/blame - debian/wx-config.1
fix build for borland 5.0
[wxWidgets.git] / debian / wx-config.1
CommitLineData
0ecfbbea 1.TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows"
e4c4c1c6 2.SH NAME
0ecfbbea 3wx-config \- generate compile time info for wxWindows
e4c4c1c6
RL
4.SH SYNOPSIS
5.nh
0ecfbbea 6.B wxbase\-config
07eb77a6 7.br
0ecfbbea 8.B wxgtk\-config
e4c4c1c6 9.HP
0ecfbbea 10.B wx\-config
e4c4c1c6
RL
11[\-\-version] [\-\-libs] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
12[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP]
e4c4c1c6 13.SH DESCRIPTION
0ecfbbea 14\fIwx\-config\fP is a tool to determine the compiler and linker
07eb77a6 15flags required for applications using the \fIwxWindows\fP toolkit(s).
e4c4c1c6 16.PP
0ecfbbea
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
07eb77a6
RL
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
0ecfbbea 23.BR update\-alternatives (8)
07eb77a6
RL
24mechanism.
25.hy
e4c4c1c6
RL
26.SH OPTIONS
27.l
0ecfbbea 28\fIwx\-config\fP accepts the following options:
e4c4c1c6
RL
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
0ecfbbea 61(Translation: this is the root path to the \fIwxWindows\fP headers \-\- [Ron])
07eb77a6 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
0ecfbbea 72(Translation: this is the root path to the \fIwxWindows\fP library \-\- [Ron])
07eb77a6 73.hy
e4c4c1c6 74.SH SEE ALSO
0ecfbbea
RL
75.BR gtk\-config (1),
76.BR update\-alternatives (8)
e4c4c1c6 77.SH COPYRIGHT
0ecfbbea 78This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
e4c4c1c6 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
0ecfbbea 83The original gtk\-config manpage copyright:
e4c4c1c6
RL
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.