wx-config(g) wxWindows 2.2 wx-config(g) NAME wx-config - generate compile time info for wxWindows SYNOPSIS wxbase-config wxgtk-config wx-config [--version] [--libs] [--gl-libs] [--cppflags] [--cflags] [--cxxflags] [--cc] [--cxx] [--ld] [--prefix[=DIR]] [--exec-prefix[=DIR]] DESCRIPTION wx-config is a tool to determine the compiler and linker flags required for applications using the wxWindows toolkit(t). wx-config is normally a symlink to one of the port- specific versions like wxbase-config or wxgtk-config 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 update-alternatives(s) mechanism. OPTIONS wx-config accepts the following options: --version What to ALWAYS include in a bug report. ( But of course you already knew that ... ) --libs Output linker flags for a wxWindows program. --gl-libs Output additional linker flags for apps using GLCanvas. --cppflags Output build-time preprocessor flags. --cflags Output C compiler flags. --cxxflags Output C++ compiler flags. --cc Output the name of the C compiler $(CC). --cxx Output the name of the C++ compiler $(CXX). --ld Output the Linker command $(LD). --prefix=PREFIX If specified, use PREFIX instead of the installa- tion prefix that wxWindows 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. (Translation: this is the root path to the wxWindows headers -- [Ron]) --exec-prefix=PREFIX If specified, use PREFIX instead of the installa- tion exec prefix that wxWindows was built with when computing the output for the --cflags and --libs options. This option must be specified be- fore any --libs or --cflags options. (Translation: this is the root path to the wxWindows library -- [Ron]) SEE ALSO gtk-config(g), update-alternatives(s) COPYRIGHT This manpage was copied whole-heartedly from the gtk-con- fig(g) manpage by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of wxGTK. It was then updated to include new options and otherwise bastardised generally by Ron Lee <ron@debian.org> The original gtk-config manpage copyright: Copyright (C) 1995 Spencer Kimball and Peter Mattis Permission to use, copy, modify, and distribute this soft- ware and its documentation for any purpose and without fee is hereby granted, provided that the above copyright no- tice appear in all copies and that both that copyright no- tice and this permission notice appear in supporting docu- mentation. Debian GNU/Linux 15 Feb 2000 wx-config(g)