On Wed, 23 Oct 2024 15:12:19 +0200 Richard Biener <richard.guent...@gmail.com> wrote:
> Note there's --enable-generated-files-in-srcdir specifically to remove > yacc and flex - can you check whether with this configure flag those > files are generated in the source directory and thus picked up when > building the release tarball? 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. $ mkdir -p build-with-generated /usr/local/gcc-cobol $ cd build-with-generated && \ ../configure \ --prefix=/usr/local/gcc-cobol \ --disable-bootstrap \ --disable-multilib \ --enable-checking \ --enable-languages=c,c++,cobol \ --enable-generated-files-in-srcdir [...build...] $ find * -name parse.c build/gcc/cobol/parse.c build-with-generated/gcc/cobol/parse.c At the end of the log, we find cp -p gengtype-lex.cc ../../gcc cp -p gengtype-lex.cc ../../gcc make[2]: *** No rule to make target 'cobol.srcextra', needed by 'lang.srcextra'. Stop. Regards, --jkl