]>
Commit | Line | Data |
---|---|---|
0ecfbbea | 1 | .TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows" |
e4c4c1c6 | 2 | .SH NAME |
0ecfbbea | 3 | wx-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 | 15 | flags 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 |
18 | versions like \fIwxbase\-config\fP or \fIwxgtk\-config\fP which | |
07eb77a6 RL |
19 | designates the default port to compile applications with. |
20 | You can override this default either by using one of the specific | |
21 | versions directly, or by changing which version the symlink points to. | |
22 | On Debian systems this can be done using the | |
0ecfbbea | 23 | .BR update\-alternatives (8) |
07eb77a6 RL |
24 | mechanism. |
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 |
31 | What to |
32 | .B ALWAYS | |
33 | include in a bug report. | |
34 | .br | |
35 | ( But of course you already knew that ... ) | |
e4c4c1c6 RL |
36 | .TP 8 |
37 | .B \-\-libs | |
07eb77a6 | 38 | Generate linker flags for a \fIwxWindows\fP program. |
e4c4c1c6 RL |
39 | .TP 8 |
40 | .B \-\-cflags | |
07eb77a6 | 41 | Generate compiler flags for the same. |
e4c4c1c6 RL |
42 | .TP 8 |
43 | .B \-\-cc | |
44 | Output the name of the C compiler \fB$(CC)\fP. | |
45 | .TP 8 | |
46 | .B \-\-cxx | |
47 | Output the name of the C++ compiler \fB$(CXX)\fP. | |
48 | .TP 8 | |
49 | .B \-\-ld | |
50 | Output the Linker command \fB$(LD)\fP. | |
51 | .TP 8 | |
52 | .B \-\-prefix=PREFIX | |
07eb77a6 | 53 | If specified, use PREFIX instead of the installation prefix that \fIwxWindows\fP |
e4c4c1c6 RL |
54 | was built with when computing the output for the \-\-cflags and |
55 | \-\-libs options. This option is also used for the exec prefix | |
56 | if \-\-exec\-prefix was not specified. This option must be specified | |
57 | before 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 | |
65 | If 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 |
67 | and \-\-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 | 78 | This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage |
e4c4c1c6 | 79 | by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of |
07eb77a6 | 80 | wxGTK. It was then updated to include new options and otherwise bastardised |
e4c4c1c6 RL |
81 | generally by Ron Lee <ron@debian.org> |
82 | ||
0ecfbbea | 83 | The original gtk\-config manpage copyright: |
e4c4c1c6 RL |
84 | |
85 | Copyright \(co 1995 Spencer Kimball and Peter Mattis | |
86 | ||
87 | Permission to use, copy, modify, and distribute this software and its | |
88 | documentation for any purpose and without fee is hereby granted, | |
89 | provided that the above copyright notice appear in all copies and that | |
90 | both that copyright notice and this permission notice appear in | |
91 | supporting documentation. |