wrc-stable --version (return code: 0)
Wine Resource Compiler version 2.0.2
Copyright 1998-2000 Bertho A. Stultiens
1994 Martin von Loewis
wrc-stable --help (return code: 0)
Usage: wrc [options...] [infile[.rc|.res]]
-b, --target=TARGET Specify target CPU and platform when cross-compiling
-D, --define id[=val] Define preprocessor identifier id=val
--debug=nn Set debug level to 'nn'
-E Preprocess only
--endianness=e Set output byte-order e={n[ative], l[ittle], b[ig]}
(win32 only; default is little-endian)
-F TARGET Synonym for -b for compatibility with windres
-fo FILE Synonym for -o for compatibility with windres
-h, --help Prints this summary
-i, --input=FILE The name of the input file
-I, --include-dir=PATH Set include search dir to path (multiple -I allowed)
-J, --input-format=FORMAT The input format (either `rc' or `rc16')
-l, --language=LANG Set default language to LANG (default is neutral {0, 0})
-m16, -m32, -m64 Build for 16-bit, 32-bit resp. 64-bit platforms
--no-use-temp-file Ignored for compatibility with windres
--nostdinc Disables searching the standard include path
-o, --output=FILE Output to file (default is infile.res)
-O, --output-format=FORMAT The output format (`po', `pot', `res', or `res16`)
--pedantic Enable pedantic warnings
--po-dir=DIR Directory containing po files for translations
--preprocessor Specifies the preprocessor to use, including arguments
-r Ignored for compatibility with rc
-U, --undefine id Undefine preprocessor identifier id
--use-temp-file Ignored for compatibility with windres
-v, --verbose Enable verbose mode
--verify-translations Check the status of the various translations
--version Print version and exit
Input is taken from stdin if no sourcefile specified.
Debug level 'n' is a bitmask with following meaning:
* 0x01 Tell which resource is parsed (verbose mode)
* 0x02 Dump internal structures
* 0x04 Create a parser trace (yydebug=1)
* 0x08 Preprocessor messages
* 0x10 Preprocessor lex messages
* 0x20 Preprocessor yacc trace
If no input filename is given and the output name is not overridden
with -o, then the output is written to "wrc.tab.res"