From 7c8f0a79a7e1e42f846ddbca14b98b47ddcfd178 Mon Sep 17 00:00:00 2001 From: jlaw Date: Sat, 9 Mar 2024 20:11:39 -0700 Subject: [PATCH] [committed] [target/102250] Document python requirement for risc-v PR target/102250 gcc/ * doc/install.texi: Document need for python when building RISC-V compilers. --- gcc/doc/install.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 173233096d19..e3650e0c4f49 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -253,6 +253,11 @@ name of the package depends on your distro) or you must build GCC as a @option{--disable-multilib}. Otherwise, you may encounter an error such as @samp{fatal error: gnu/stubs-32.h: No such file} +@item Python +If you configure a RISC-V compiler with the option @option{--with-arch} and +the specified architecture string is non-canonical, then you will need +@command{python} installed on the build system. + @item @anchor{GNAT-prerequisite}GNAT In order to build GNAT, the Ada compiler, you need a working GNAT -- 2.47.2