This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for F77 info files (was: Re: Fortran files missing)
- To: burley at gnu dot org
- Subject: Re: PATCH for F77 info files (was: Re: Fortran files missing)
- From: Manfred Hollstein <manfred at s-direktnet dot de>
- Date: Fri, 19 Jun 1998 19:59:26 +0200 (MEST)
- Cc: d dot love at dl dot ac dot uk, egcs-patches at cygnus dot com, law at cygnus dot com
- References: <rzqogvqgtti.fsf@djlvig.dl.ac.uk><199806191541.LAA11766@melange.gnu.org>
- Reply-To: manfred at s-direktnet dot de, Manfred dot Hollstein at ks dot sel dot alcatel dot de
On Fri, 19 June 1998, 11:41:36, burley@gnu.org wrote:
> > Craig> Be aware I submitted a patch to do this to Dave Love on Monday, though
> > Craig> whether/when he installed it,
> >
> >The two tarballs I installed don't cover what I think the problem is.
> >I haven't had time to do anything about it, sorry.
>
> I'll enclose the original patches from the dl7.tar.gz file I sent...
> maybe somebody can point out for me why the parts I assumed would
> take care of the problem don't? The new files system.j and toplev.j
> are certainly represented, so I can't imagine how I could have gotten
> those wrong (but can certainly imagine how the business of actually
> adding them via CVS might be complicated). But the second patch
> (delimited with "-------"), at the very end of this email, shows
> my attempt at fixing $(INCLUDES) this past Monday.
>
> >I'm sure (some) new .j files were added, but intdoc won't build at
> >present for lack of include path.
>
> That's strange, since, with my patches, it did for me. But sometimes
> different systems have different configurations. (I do build outside
> the source dir, nowadays, FWIW.)
Yes you're right, the patch solves the problem, but patch file P1 is not
checked in:
> -------- patch file P1:
> Mon Jun 15 23:39:24 1998 Craig Burley <burley@gnu.org>
>
> * Make-lang.in (f/g77.info): Use -f when removing
> pre-existing Info files, if any. (This rm command
> can go away once makeinfo has been changed to delete
> .info-N files beyond the last one it creates.)
>
> * Make-lang.in ($(srcdir)/f/intdoc.texi): Compile
> using $(INCLUDES) macro to get the new hconfig.h
> and system.h headers.
>
>
> *** g77-e/gcc/f/Make-lang.in.~1~ Mon Jun 15 21:50:55 1998
> --- g77-e/gcc/f/Make-lang.in Mon Jun 15 23:36:10 1998
> *************** f/g77.info: $(srcdir)/f/g77.texi $(srcdi
> *** 247,251 ****
> esac
> if [ -f lang-f77 ]; then \
> ! rm $(srcdir)/f/g77.info-*; \
> $(MAKEINFO) -I$(srcdir)/f -o f/g77.info $(srcdir)/f/g77.texi; \
> fi
> --- 247,251 ----
> esac
> if [ -f lang-f77 ]; then \
> ! rm -f $(srcdir)/f/g77.info-*; \
> $(MAKEINFO) -I$(srcdir)/f -o f/g77.info $(srcdir)/f/g77.texi; \
> fi
> *************** $(srcdir)/f/intdoc.texi: f/intdoc.c f/in
> *** 287,294 ****
> esac
> if [ -f lang-f77 ]; then \
> ! $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \
> `echo $(srcdir)/f/ansify.c | sed 's,^\./,,'` -o f/ansify; \
> f/ansify < $(srcdir)/f/intdoc.in > f/intdoc.h0 $(srcdir)/f/intdoc.in; \
> ! $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -I./f \
> `echo $(srcdir)/f/intdoc.c | sed 's,^\./,,'` -o f/intdoc; \
> f/intdoc > $(srcdir)/f/intdoc.texi; \
> --- 287,294 ----
> esac
> if [ -f lang-f77 ]; then \
> ! $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) \
> `echo $(srcdir)/f/ansify.c | sed 's,^\./,,'` -o f/ansify; \
> f/ansify < $(srcdir)/f/intdoc.in > f/intdoc.h0 $(srcdir)/f/intdoc.in; \
> ! $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) -I./f \
> `echo $(srcdir)/f/intdoc.c | sed 's,^\./,,'` -o f/intdoc; \
> f/intdoc > $(srcdir)/f/intdoc.texi; \
> --------
I can say this certainly as I did an initial checkout today ;-) BTW,
in the meantime I've checked in my $(INCLUDES) patch from yesterday;
so, only the "rm -f" patch is now missing. Will you add it once again,
Craig?
manfred