diff mbox series

[committed,target/102250] Document python requirement for risc-v

Message ID 93343fce-9be7-43ce-ba34-7f6369953356@gmail.com
State New
Headers show
Series [committed,target/102250] Document python requirement for risc-v | expand

Commit Message

Jeff Law March 10, 2024, 3:18 a.m. UTC
Not sure why nobody's taken care of this yet.  Under certain 
circumstances python may be needed if you're building a RISC-V compiler.

Here's what I've checked in.  Happy to adjust if folks want to wordsmith 
it further.

Jeff
commit 7c8f0a79a7e1e42f846ddbca14b98b47ddcfd178
Author: jlaw <jeffreyalaw@gmail.com>
Date:   Sat Mar 9 20:11:39 2024 -0700

    [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.
diff mbox series

Patch

diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 173233096d1..e3650e0c4f4 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