summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-09 11:16:16 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-09 11:16:16 +0000
commit01828a72f59db3c6086c9f39bf1e367372537a10 (patch)
tree9d8ab7c0f82c68e9ce5bbbab1e723bd1929d4d5c /gcc/doc
parent255d6bf72eaecad95b7ef5f6d6510b0876c26c0f (diff)
downloadgcc-01828a72f59db3c6086c9f39bf1e367372537a10.tar.gz
* doc/install.texi (Prerequisites): Explicitly mention C library
and its headers for multilib builds. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205802 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/install.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index a8f9f8a7980..85899b019c5 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -255,6 +255,22 @@ may need to use @option{--disable-stage1-checking}, though
bootstrapping the compiler with such earlier compilers is strongly
discouraged.
+@item C standard library and headers
+
+In order to build GCC, the C standard library and headers must be present
+for all target variants for which target libraries will be built (and not
+only the variant of the host C++ compiler).
+
+This affects the popular @samp{x86_64-unknown-linux-gnu} platform (among
+other multilib targets), for which 64-bit (@samp{x86_64}) and 32-bit
+(@samp{i386}) libc headers are usually packaged separately. If you do a
+build of a native compiler on @samp{x86_64-unknown-linux-gnu}, make sure you
+either have the 32-bit libc developer package properly installed (the exact
+name of the package depends on your distro) or you must build GCC as a
+64-bit only compiler by configuring with the option
+@option{--disable-multilib}. Otherwise, you may encounter an error such as
+@samp{fatal error: gnu/stubs-32.h: No such file}
+
@item GNAT
In order to build the Ada compiler (GNAT) you must already have GNAT