This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Who knows m4?
> > BTW, what's the magic incantation to regenerate the
> > generated files?
>
> I have a horrible hack for this:
>
> I make a second source tree with
>
> ( cd ../gcc-4.1 ; tar cf - . ) | tar xvf -
>
> then do "configure --enable-maintainer-mode" in the libgfortran
> subdirectory. The error messages from the configure can be ignored.
>
> I then make the m4 changes there, do a "make generated/*.c" and copy
> over the generated files and the m4 files to the original source tree.
You shouldn't need to do this any more. Just configuring your normal build
with --enable-maintainer-mode should be sufficient.
If this doesn't work, please reopen PR15160.
Paul