diff options
author | Bruno Haible <bruno@clisp.org> | 2022-05-11 17:10:07 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-05-24 13:23:43 +0200 |
commit | 3677eb80b683cead7db972bc206fd2e75d997bd2 (patch) | |
tree | 9fb159aaef3f701b8f0466ff9af26f87bc4c4593 /gcc/doc | |
parent | 91c7c5edd2c1d31bf379be1d077b39644391cc31 (diff) | |
download | gcc-3677eb80b683cead7db972bc206fd2e75d997bd2.zip gcc-3677eb80b683cead7db972bc206fd2e75d997bd2.tar.gz gcc-3677eb80b683cead7db972bc206fd2e75d997bd2.tar.bz2 |
Extend --with-zstd documentation
The patch that was so far added for documenting --with-zstd is pretty
minimal:
- it refers to undocumented options --with-zstd-include and
--with-zstd-lib;
- it suggests that --with-zstd can be used without an argument;
- it does not clarify how this option applies to cross-compilation.
How about adding the same details as for the --with-isl,
--with-isl-include, --with-isl-lib options, mutatis mutandis? This patch
does that.
PR other/105527
gcc/ChangeLog:
* doc/install.texi (Configuration): Add more details about --with-zstd.
Document --with-zstd-include and --with-zstd-lib
Signed-off-by: Bruno Haible <bruno@clisp.org>
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/install.texi | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 042241e..ed0d1d8 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -2360,10 +2360,20 @@ 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 @option{--with-zstd-include=PATH/include} plus -@option{--with-zstd-lib=PATH/lib}. +@item --with-zstd=@var{pathname} +@itemx --with-zstd-include=@var{pathname} +@itemx --with-zstd-lib=@var{pathname} +If you do not have the @code{zstd} library installed in a standard +location and you want to build GCC, you can explicitly specify the +directory where it is installed (@samp{--with-zstd=@/@var{zstdinstalldir}}). +The @option{--with-zstd=@/@var{zstdinstalldir}} option is shorthand for +@option{--with-zstd-lib=@/@var{zstdinstalldir}/lib} and +@option{--with-zstd-include=@/@var{zstdinstalldir}/include}. If this +shorthand assumption is not correct, you can use the explicit +include and lib options directly. + +These flags are applicable to the host platform only. When building +a cross compiler, they will not be used to configure target libraries. @end table @subheading Cross-Compiler-Specific Options |