On Thu, 24 Oct 2024 12:01:10 -0400
"James K. Lowden" <jklow...@schemamania.org> wrote:

> They are not.  With  --enable-generated-files-in-srcdir, the build
> fails. What do I need to do to fix it?  I haven't the faintest idea.  

I believe I found it:

diff --git a/gcc/cobol/Make-lang.in b/gcc/cobol/Make-lang.in
index 6a57585a729..cf2f13e6e1f 100644
--- a/gcc/cobol/Make-lang.in
+++ b/gcc/cobol/Make-lang.in
@@ -43,6 +43,9 @@ gcobol_TARGET_INSTALL_NAME :=
$(target_noncanonical)-$(shell echo gcobol|sed '$( 
 cobol: cobol1$(exeext)
 
+cobol.srcextra: scan.c parse.c
+       -cp -p $^ $(srcdir)
+
 .PHONY: cobol
 
 BINCLUDE ?= ./gcc

If that works, I'll include it in the next revised patch. 

--jkl

Reply via email to