Hi Andrew,

Andrew Pinski <pins...@gmail.com> writes:

> One comment from me. It would be nice to update install.texi in
> gcc/doc/ to make a mention of this requirement for non-glibc hosts.

What do you think of the following:


diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index a17016cd8977..e5137f9d7a1b 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2215,6 +2215,11 @@ which lets GCC output diagnostics in languages other 
than American
 English.  Native Language Support is enabled by default if not doing a
 canadian cross build.  The @option{--disable-nls} option disables NLS@.
 
+Note that this functionality requires either libintl or C standard
+library that contains support for gettext (such as the GNU C Library).
+@xref{with-included-gettext,,--with-included-gettext} for more
+information on the conditions required to get gettext support.
+
 @item --with-libintl-prefix=@var{dir}
 @itemx --without-libintl-prefix
 Searches for libintl in @file{@var{dir}/include} and
@@ -2225,6 +2230,7 @@ linker handle it.
 Specifies the type of library to search for when looking for libintl.
 @var{type} can be one of @code{auto}, @code{static} or @code{shared}.
 
+@anchor{with-included-gettext}
 @item --with-included-gettext
 Only available if @file{gettext} is present in the source tree.

Thanks.
-- 
Arsen Arsenović

Attachment: signature.asc
Description: PGP signature

Reply via email to