1 .\" Process with groff -man -Tascii file.3
2 .TH GMQCC 1 2012-07-12 "" "gmqcc Manual"
4 gmqcc \- A Quake C compiler built from the NIH realm of sarcastic wit
7 [\fIOPTIONS\fR] [\fIfiles...\fR]
9 Traditionally, a QC compiler reads the file \fIprogs.src\fR which
10 in its first line contains the output filename, and the rest is a
11 list of QC source files that are to be compiled in order.
12 \fBgmqcc\fR optionally takes options to specify the output and
13 input files on the commandline, and also accepts assembly files.
15 \fBgmqcc\fR mostly tries to mimick gcc's commandline handling, though
16 there are also traditional long-options available.
19 Show a usage message and exit.
21 .BI "-o, --output=" filename
22 Specify the output filename. Defaults to progs.dat. This will overwrite
23 the output file listed in a \fIprogs.src\fR file in case such a file is used.
26 Specify the optimization level
29 Highest optimization level
31 Default optimization level
33 Minimal optimization level
35 Disable optimization entierly
39 Append the specified files to the list of files to assemble using the QC-Assembler.
42 Append the specified file which is to be interpreted as a \fIprogs.src\fR file.
45 Use the specified standard for parsing QC code. The following standards are available:
46 .IR gmqcc , qcc , fteqcc
48 .BI -W warning "\fR, " "" -Wno- warning
49 Enable or disable a warning.
52 Enable all warnings. Overrides preceding -W parameters.
54 .B -fdarkplaces-string-table-bug
55 Patch the output file to work around a string-table bug in certain darkplaces versions.
58 Changes the output format to be more efficient. Requires a patched engine. See the
59 proposal for a better file structure in the gmqcc source tree.
62 Disables colored output
65 Redirects standard output to a \fIfile\fR
68 Redirects standard error to a \fIfile\fR