2000-02-24 07:20:22 -05:00
|
|
|
.TH wx-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows 2.2"
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH NAME
|
2000-02-24 07:20:22 -05:00
|
|
|
wx-config - generate compile time info for wxWindows
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.nh
|
2000-02-24 07:20:22 -05:00
|
|
|
.B wxbase-config
|
|
|
|
.br
|
|
|
|
.B wxgtk-config
|
2000-02-16 15:47:08 -05:00
|
|
|
.HP
|
|
|
|
.B wx-config
|
|
|
|
[\-\-version] [\-\-libs] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
|
|
|
|
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP]
|
|
|
|
.SH DESCRIPTION
|
2000-02-24 07:20:22 -05:00
|
|
|
\fIwx-config\fP is a tool to determine the compiler and linker
|
|
|
|
flags required for applications using the \fIwxWindows\fP toolkit(s).
|
2000-02-16 15:47:08 -05:00
|
|
|
.PP
|
2000-02-24 07:20:22 -05:00
|
|
|
\fIwx-config\fP is normally a symlink to one of the port-specific
|
|
|
|
versions like \fIwxbase-config\fP or \fIwxgtk-config\fP which
|
|
|
|
designates the default port to compile applications with.
|
|
|
|
You can override this default either by using one of the specific
|
|
|
|
versions directly, or by changing which version the symlink points to.
|
|
|
|
On Debian systems this can be done using the
|
|
|
|
.BR update-alternatives (8)
|
|
|
|
mechanism.
|
|
|
|
.hy
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH OPTIONS
|
|
|
|
.l
|
|
|
|
\fIwx-config\fP accepts the following options:
|
|
|
|
.TP 8
|
|
|
|
.B \-\-version
|
2000-02-24 07:20:22 -05:00
|
|
|
What to
|
|
|
|
.B ALWAYS
|
|
|
|
include in a bug report.
|
|
|
|
.br
|
|
|
|
( But of course you already knew that ... )
|
2000-02-16 15:47:08 -05:00
|
|
|
.TP 8
|
|
|
|
.B \-\-libs
|
2000-02-24 07:20:22 -05:00
|
|
|
Generate linker flags for a \fIwxWindows\fP program.
|
2000-02-16 15:47:08 -05:00
|
|
|
.TP 8
|
|
|
|
.B \-\-cflags
|
2000-02-24 07:20:22 -05:00
|
|
|
Generate compiler flags for the same.
|
2000-02-16 15:47:08 -05:00
|
|
|
.TP 8
|
|
|
|
.B \-\-cc
|
|
|
|
Output the name of the C compiler \fB$(CC)\fP.
|
|
|
|
.TP 8
|
|
|
|
.B \-\-cxx
|
|
|
|
Output the name of the C++ compiler \fB$(CXX)\fP.
|
|
|
|
.TP 8
|
|
|
|
.B \-\-ld
|
|
|
|
Output the Linker command \fB$(LD)\fP.
|
|
|
|
.TP 8
|
|
|
|
.B \-\-prefix=PREFIX
|
2000-02-24 07:20:22 -05:00
|
|
|
If specified, use PREFIX instead of the installation prefix that \fIwxWindows\fP
|
2000-02-16 15:47:08 -05:00
|
|
|
was built with when computing the output for the \-\-cflags and
|
|
|
|
\-\-libs options. This option is also used for the exec prefix
|
|
|
|
if \-\-exec\-prefix was not specified. This option must be specified
|
|
|
|
before any \-\-libs or \-\-cflags options.
|
2000-02-21 18:02:25 -05:00
|
|
|
.br
|
2000-02-24 07:20:22 -05:00
|
|
|
.nh
|
|
|
|
.HP
|
|
|
|
(Translation: this is the root path to the \fIwxWindows\fP headers -- [Ron])
|
|
|
|
.hy
|
2000-02-16 15:47:08 -05:00
|
|
|
.TP 8
|
|
|
|
.B \-\-exec\-prefix=PREFIX
|
|
|
|
If specified, use PREFIX instead of the installation exec prefix that
|
2000-02-24 07:20:22 -05:00
|
|
|
\fIwxWindows\fP was built with when computing the output for the \-\-cflags
|
2000-02-16 15:47:08 -05:00
|
|
|
and \-\-libs options. This option must be specified before any
|
|
|
|
\-\-libs or \-\-cflags options.
|
2000-02-21 18:02:25 -05:00
|
|
|
.br
|
2000-02-24 07:20:22 -05:00
|
|
|
.nh
|
|
|
|
.HP
|
|
|
|
(Translation: this is the root path to the \fIwxWindows\fP library -- [Ron])
|
|
|
|
.hy
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH SEE ALSO
|
2000-02-24 07:20:22 -05:00
|
|
|
.BR gtk-config (1),
|
|
|
|
.BR update-alternatives (8)
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH COPYRIGHT
|
|
|
|
This manpage was copied whole-heartedly from the \fBgtk-config\fP(1) manpage
|
|
|
|
by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
|
2000-02-24 07:20:22 -05:00
|
|
|
wxGTK. It was then updated to include new options and otherwise bastardised
|
2000-02-16 15:47:08 -05:00
|
|
|
generally by Ron Lee <ron@debian.org>
|
|
|
|
|
|
|
|
The original gtk-config manpage copyright:
|
|
|
|
|
|
|
|
Copyright \(co 1995 Spencer Kimball and Peter Mattis
|
|
|
|
|
|
|
|
Permission to use, copy, modify, and distribute this software and its
|
|
|
|
documentation for any purpose and without fee is hereby granted,
|
|
|
|
provided that the above copyright notice appear in all copies and that
|
|
|
|
both that copyright notice and this permission notice appear in
|
|
|
|
supporting documentation.
|