Richard Biener <richard.guent...@gmail.com> writes: > On Sat, Dec 10, 2022 at 1:49 AM Gaius Mulley via Gcc-patches > <gcc-patches@gcc.gnu.org> wrote: >> >> >> While writing the ChangeLog entries git gcc-verify spotted an oversight >> with v3 of this patch set. I had forgotten to post gm2.texi and also a >> tiny patchlet in gcc/configure.ac (to detect Python). HAVE_PYTHON is >> used within gcc/m2/Make-lang.in to avoid generating the library section >> included by gm2.texi should Python not be available. > > The configure check doesn't verify the python version.
indeed - I'll fix this > Does --enable-generated-files-in-srcdir (used when building release > tarballs) generate the required section so it's packed up in the > release tarball and avoid requiring python3 when building from the > release tarball? currently working on it - no it fails - should be done rsn. > Note these kind of dependences should be mentioned in > install.texi - for python also listing required modules would be nice. I'll add these. > Thanks, > Richard. > >> ok to commit? I've included gm2-lang.cc and lang.opt for reference. > > The python script would have been more informative, the generated > .texi fragment and the Make-lang.in part as well ah yes this is true, sorry. regards, Gaius