fix some errors pointed out by colin (thanks:)

This commit is contained in:
Bill Currie 2003-05-15 21:18:51 +00:00
parent 794bca7d8b
commit 2c5933fb27

View file

@ -37,7 +37,7 @@ qfcc \- The QuakeForge Code Compiler
.RI [ options ] .RI [ options ]
.RI [ files ] .RI [ files ]
.SH DESCRIPTION .SH DESCRIPTION
\fBqfcc\fP compiles Ruamoko source into a form that the QuakeForge server can \fBqfcc\fP compiles Ruamoko source into a form that the QuakeForge engine can
understand. understand.
.SH OPTIONS .SH OPTIONS
\fBqfcc\fP takes the following arguments: \fBqfcc\fP takes the following arguments:
@ -55,7 +55,7 @@ Display more output than usual.
Generate debugging info. Synonym for \fB\-\-code debug\fP. Generate debugging info. Synonym for \fB\-\-code debug\fP.
.TP .TP
.B \-o, \-\0output\-file FILE .B \-o, \-\0output\-file FILE
Secify output file name. Specify output file name.
.TP .TP
.B \-P, \-\-progs\-src FILE .B \-P, \-\-progs\-src FILE
File to use instead of progs.src File to use instead of progs.src
@ -101,7 +101,7 @@ for include files.
Undefine preprocessor symbols, if the preprocessor is in use. Undefine preprocessor symbols, if the preprocessor is in use.
.TP .TP
.B \-\-cpp CPPSPEC .B \-\-cpp CPPSPEC
cpp execution command line. See \fBCPP NAME\fP for details. \fBcpp\fP execution command line. See \fBCPP NAME\fP for details.
.TP .TP
.B \-L DIR .B \-L DIR
Add DIR to the search path used for -l. Add DIR to the search path used for -l.
@ -116,7 +116,7 @@ Compile only, do not link. Can be used in either progs.src or separate
compilation modes. compilation modes.
.TP .TP
.B \-r .B \-r
Incremental linking. Generate a larger object files from other object files Incremental linking. Generate a larger object file from other object files
and libraries. and libraries.
.TP .TP
.B \-z .B \-z
@ -194,20 +194,20 @@ Silences all notice messages.
Promote notices to warnings. If warnings are being treated as errors, so will Promote notices to warnings. If warnings are being treated as errors, so will
notices. notices.
.SH "CPP NAME" .SH "CPP NAME"
When preprocessing source files, \fBqfcc\fP calls cpp (the C preprocessor) When preprocessing source files, \fBqfcc\fP calls \fBcpp\fP (the C
with a configurable command line. This is useful when wishing to use an preprocessor) with a configurable command line. This is useful when wishing
alternative preprocessor (though it must be command line compatable with cpp) to use an alternative preprocessor (though it must be command line compatible
and when \fBqfcc\fP has been mis-configured to call cpp incorrectly for your with \fBcpp\fP) and when \fBqfcc\fP has been mis-configured to call \fBcpp\fP
operating system. If the latter is the case, please report the details incorrectly for your operating system. If the latter is the case, please
(operating system, detection methods, correct execution specificaiton). The report the details (operating system, detection methods, correct execution
base default execution spec (on most Linux systems) is \fBcpp %d -o %o %i\fP. specification). The base default execution spec (on most Linux systems) is
This spec is similar in concept to a printf string. The name of the program \fBcpp %d -o %o %i\fP. This spec is similar in concept to a printf string.
may be either absolute (eg /lib/cpp) or relative as the PATH will be searched. The name of the program may be either absolute (eg /lib/\fBcpp\fP) or
Available substituions: relative as the PATH will be searched. Available substitutions:
.TP .TP
.B %d .B %d
Mainly for defines (-D, -U and -I) but %d will be replaced by all cpp options Mainly for defines (-D, -U and -I) but %d will be replaced by all \fBcpp\fP
that \fBqfcc\fP will be passing. options that \fBqfcc\fP will be passing.
.TP .TP
.B %o .B %o
This will be replaced by the output file path. Could be either absolute or This will be replaced by the output file path. Could be either absolute or