gpp --version (return code: 0)
GPP 2.24
Copyright (C) 1996-2001 Denis Auroux
Copyright (C) 2003, 2004 Tristan Miller
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gpp --help (return code: 0)
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
[-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
[+s<n> str1 str2 c] [long options] [infile]
default: #define x y macro(arg,...)
-C : maximum cpp compatibility (includes -n, +c, +s, ...)
-T : TeX-like \define{x}{y} \macro{arg}{...}
-H : HTML-like <#define x|y> <#macro arg|...>
-X : XHTML-like <#define x|y/> <#macro arg|.../>
-P : prolog compatible cpp-like mode
-U : user-defined syntax (specified in 9 following args; see manual)
-M : user-defined syntax for meta-macros (specified in 7 following args)
-o : output to outfile
-O : output to outfile and stdout
-z : line terminator is CR-LF (MS-DOS style)
-x : enable #exec built-in macro
-m : enable automatic mode switching upon including .h/.c files
-n : send LF characters serving as macro terminators to output
+c : use next 2 args as comment start and comment end sequences
+s : use next 3 args as string start, end and quote character
Long options:
--include file : process file before infile
--nostdinc : don't search standard directories for files to include
--nocurinc : don't search the current directory for files to include
--curdirinclast : search the current directory last
--warninglevel n : set warning level
--includemarker formatstring : keep track of #include directives in output
--version : display version information and exit
-h, --help : display this message and exit