docs: document --with-zstd

Message ID fea424e0-89c9-cba4-426b-98e6b4376507@suse.cz
State New
Headers
Series docs: document --with-zstd |

Commit Message

Martin Liška May 11, 2022, 11:22 a.m. UTC
  Ready to be installed?
Thanks,
Martin

	PR other/105527

gcc/ChangeLog:

	* doc/install.texi: Document the configure option --with-zstd.
---
 gcc/doc/install.texi | 5 +++++
 1 file changed, 5 insertions(+)
  

Comments

Richard Biener May 11, 2022, 11:50 a.m. UTC | #1
On Wed, May 11, 2022 at 1:22 PM Martin Liška <mliska@suse.cz> wrote:
>
> Ready to be installed?
> Thanks,
> Martin
>
>         PR other/105527
>
> gcc/ChangeLog:
>
>         * doc/install.texi: Document the configure option --with-zstd.
> ---
>  gcc/doc/install.texi | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
> index 10bfceffceb..1d7e8530a23 100644
> --- a/gcc/doc/install.texi
> +++ b/gcc/doc/install.texi
> @@ -2371,6 +2371,11 @@ For a native build and cross compiles that have target headers, the option's
>  default is derived from glibc's behavior. When glibc clamps float_t to double,
>  GCC follows and enables the option. For other cross compiles, the default is
>  disabled.
> +
> +@item --with-zstd
> +Specify prefix directory for installed zstd library.
> +Equivalent to @code{--with-zstd-include=PATH/include} plus
> +@code{--with-zstd-lib=PATH/lib}.

Should that use @option{}?  --with-gmp etc. just refer to
@option{--with-gmp-include} without PATH/*, so please drop that here, too.

OK whith those changes.

Richard.

>  @end table
>
>  @subheading Cross-Compiler-Specific Options
> --
> 2.36.1
>
  
Martin Liška May 11, 2022, 12:02 p.m. UTC | #2
On 5/11/22 13:50, Richard Biener wrote:
> Should that use @option{}?  --with-gmp etc. just refer to
> @option{--with-gmp-include} without PATH/*, so please drop that here, too.

Sure, adjusted and pushed.

Martin
  

Patch

diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 10bfceffceb..1d7e8530a23 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2371,6 +2371,11 @@  For a native build and cross compiles that have target headers, the option's
 default is derived from glibc's behavior. When glibc clamps float_t to double,
 GCC follows and enables the option. For other cross compiles, the default is
 disabled.
+
+@item --with-zstd
+Specify prefix directory for installed zstd library.
+Equivalent to @code{--with-zstd-include=PATH/include} plus
+@code{--with-zstd-lib=PATH/lib}.
 @end table
 
 @subheading Cross-Compiler-Specific Options