Correct the text describing windres's --processor option.
authorNick Clifton <nickc@redhat.com>
Thu, 29 Apr 2021 12:11:29 +0000 (13:11 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 29 Apr 2021 12:11:29 +0000 (13:11 +0100)
 PR 27594
 * doc/binutils.texi (windres): Correct the description of the
 default value of the --preprocessor argument.

binutils/ChangeLog
binutils/doc/binutils.texi

index a2603133dc4811ae262c1e6699425a858edcbc74..67fff0b195d0a244cee5d68f905bb21104f5863b 100644 (file)
@@ -1,3 +1,9 @@
+2021-04-29  Nick Clifton  <nickc@redhat.com>
+
+       PR 27594
+       * doc/binutils.texi (windres): Correct the description of the
+       default value of the --preprocessor argument.
+
 2021-04-27  Nick Clifton  <nickc@redhat.com>
 
        PR 27779
index a8157ade3c1a2b175f348aa38934e1c851615604..9578c083ef81dbc7d5e178bd7f938194f36c3550 100644 (file)
@@ -4279,7 +4279,7 @@ format, which is the first one listed by the @option{--help} option.
 When @command{windres} reads an @code{rc} file, it runs it through the C
 preprocessor first.  This option may be used to specify the preprocessor
 to use, including any leading arguments.  The default preprocessor
-argument is @code{gcc -E -xc-header -DRC_INVOKED}.
+argument is @code{gcc}.
 
 @item --preprocessor-arg @var{option}
 When @command{windres} reads an @code{rc} file, it runs it through
@@ -4287,6 +4287,11 @@ the C preprocessor first.  This option may be used to specify additional
 text to be passed to preprocessor on its command line.
 This option can be used multiple times to add multiple options to the
 preprocessor command line.
+If the @option{--preprocessor} option has not been specified then a
+default set of preprocessor arguments will be used, with any
+@option{--preprocessor-arg} options being placed after them on the
+command line.  These default arguments are @code{-E -xc-header
+-DRC_INVOKED}.
 
 @item -I @var{directory}
 @itemx --include-dir @var{directory}
This page took 0.029336 seconds and 4 git commands to generate.