X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=doc%2Fgmqcc.1;h=da79a5bd0415b15165c7b3e4f09d708a38478ecf;hb=6284cc673dff2de0e3c9b706beb847136591a0eb;hp=ea5d005754a4ae3bcf579824484906284003832a;hpb=ef0de47954bbdc28ba0130f8053723f59552c149;p=xonotic%2Fgmqcc.git diff --git a/doc/gmqcc.1 b/doc/gmqcc.1 index ea5d005..da79a5b 100644 --- a/doc/gmqcc.1 +++ b/doc/gmqcc.1 @@ -1,6 +1,6 @@ .\"mdoc -.Dd January 24, 2012 -.Dt GMQCC 1 +.Dd January 24, 2013 +.Dt GMQCC 1 PRM .Os .Sh NAME .Nm gmqcc @@ -24,10 +24,6 @@ there are also traditional long-options available. .Bl -tag -width Ds .It Fl h , Fl -help Show a usage message and exit. -.It Fl "debug" -Turn on some compiler debugging mechanisms. -.It Fl memchk -Turn on compiler mem-check. (Shows allocations and checks for leaks.) .It Fl o , Fl -output= Ns Ar filename Specify the output filename. Defaults to progs.dat. This will overwrite the output file listed in a @@ -46,7 +42,7 @@ Minimal optimization level Disable optimization entirely .El .Pp -.It Fl O Ns Ar name Fl Ono- Ns Ar name +.It Fl O Ns Ar name , Fl Ono- Ns Ar name Enable or disable a specific optimization. Note that these options must be used after setting the optimization level, otherwise they'll be overwritten. @@ -57,6 +53,8 @@ activated at. Be less verbose. In particular removes the messages about which files are being processed, and which compilation mode is being used, and some others. Warnings and errors will of course still be displayed. +.It Fl D Ns Ar macroname , Fl D Ns Ar macroname Ns = Ns Ar value +Predefine a macro, optionally with a optional value. .It Fl E Run only the preprocessor as if .Fl f Ns Cm ftepp @@ -93,6 +91,12 @@ Use an ini file to read all the and .Fl f flag from. See the +.It Fl "debug" +Turn on some compiler debugging mechanisms. +.It Fl memchk +Turn on compiler mem-check. (Shows allocations and checks for leaks.) +.It Fl -memdumpcols Ns Ar columns +Changes the number of columns to use for the debug memory dump, defaults to 16. .Sx CONFIG section about the file format. .It Fl redirout= Ns Ar file @@ -249,11 +253,6 @@ will generate a warning. Warn when assigning to a function pointer with an unmatching signature. This usually happens in cases like assigning the null function to an entity's .think function pointer. -.It Fl W Ns Cm preprocessor -Enable warnings coming from the preprocessor. Like duplicate macro -declarations. This warning triggers when there's a problem with the -way the preprocessor has been used, it will \fBnot\fR affect warnings -generated with the '#warning' directive. See -Wcpp. .It Fl W Ns Cm cpp Show warnings created using the preprocessor's '#warning' directive. .It Fl W Ns Cm multifile-if