From 0993272f08cd6726bdd97b9e7eb3e0efb3f5ba40 Mon Sep 17 00:00:00 2001 From: Craig Burley Date: Sat, 5 Jun 1999 10:20:59 +0000 Subject: [PATCH] Use libsubdir, not prefix, for lang-f77 From-SVN: r27367 --- gcc/f/ChangeLog | 10 ++++++++++ gcc/f/Make-lang.in | 36 ++++++++++++++++++------------------ gcc/f/news.texi | 10 ++++++++-- 3 files changed, 36 insertions(+), 20 deletions(-) diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 19ef84655ed..dee59a3c158 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,13 @@ +Fri Jun 4 13:56:56 1999 Craig Burley + + * Make-lang.in: Use libsubdir, not prefix, to store + temporary lang-f77 `flag' file. + +Fri Jun 4 10:26:04 1999 Craig Burley + + * news.texi (News): Mention GCC 2.95 in favor of EGCS 1.2. + Mention that libg2c is multilibbed. + Fri Jun 4 10:09:50 1999 Craig Burley * g77.texi (Missing Features): Add `Better Warnings' diff --git a/gcc/f/Make-lang.in b/gcc/f/Make-lang.in index 39c9cc2087d..c2742c43ea8 100644 --- a/gcc/f/Make-lang.in +++ b/gcc/f/Make-lang.in @@ -310,10 +310,10 @@ f77.install-normal: # and also as either g77 (if native) or $(tooldir)/bin/g77. f77.install-common: case "$(LANGUAGES)" in \ - *[fF]77*) touch $(prefix)/lang-f77;; \ - *) rm -f $(prefix)/lang-f77;; \ + *[fF]77*) touch $(libsubdir)/lang-f77;; \ + *) rm -f $(libsubdir)/lang-f77;; \ esac - -if [ -f $(prefix)/lang-f77 -a -f f771$(exeext) ] ; then \ + -if [ -f $(libsubdir)/lang-f77 -a -f f771$(exeext) ] ; then \ if [ -f g77-cross$(exeext) ] ; then \ rm -f $(bindir)/$(G77_CROSS_NAME)$(exeext); \ $(INSTALL_PROGRAM) g77-cross$(exeext) $(bindir)/$(G77_CROSS_NAME)$(exeext); \ @@ -333,16 +333,16 @@ f77.install-common: echo ' f77-install-ok in the source or build directory.)'; \ echo ''; \ else true; fi - rm -f $(prefix)/lang-f77 + rm -f $(libsubdir)/lang-f77 # $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir # to do the install. The sed rule was copied from stmp-int-hdrs. f77.install-info: f77.info case "$(LANGUAGES)" in \ - *[fF]77*) touch $(prefix)/lang-f77;; \ - *) rm -f $(prefix)/lang-f77;; \ + *[fF]77*) touch $(libsubdir)/lang-f77;; \ + *) rm -f $(libsubdir)/lang-f77;; \ esac - if [ -f $(prefix)/lang-f77 -a -f f/g77.info ] ; then \ + if [ -f $(libsubdir)/lang-f77 -a -f f/g77.info ] ; then \ rm -f $(infodir)/g77.info*; \ for f in f/g77.info*; do \ realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \ @@ -350,20 +350,20 @@ f77.install-info: f77.info done; \ chmod a-x $(infodir)/g77.info*; \ else true; fi - @if [ -f $(prefix)/lang-f77 -a -f $(srcdir)/f/g77.info ] ; then \ + @if [ -f $(libsubdir)/lang-f77 -a -f $(srcdir)/f/g77.info ] ; then \ if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ echo " install-info --info-dir=$(infodir) $(infodir)/g77.info"; \ install-info --info-dir=$(infodir) $(infodir)/g77.info || : ; \ else : ; fi; \ else : ; fi - rm -f $(prefix)/lang-f77 + rm -f $(libsubdir)/lang-f77 f77.install-man: $(srcdir)/f/g77.1 case "$(LANGUAGES)" in \ - *[fF]77*) touch $(prefix)/lang-f77;; \ - *) rm -f $(prefix)/lang-f77;; \ + *[fF]77*) touch $(libsubdir)/lang-f77;; \ + *) rm -f $(libsubdir)/lang-f77;; \ esac - -if [ -f $(prefix)/lang-f77 -a -f f771$(exeext) ] ; then \ + -if [ -f $(libsubdir)/lang-f77 -a -f f771$(exeext) ] ; then \ if [ -f g77-cross$(exeext) ] ; then \ rm -f $(man1dir)/$(G77_CROSS_NAME)$(manext); \ $(INSTALL_DATA) $(srcdir)/f/g77.1 $(man1dir)/$(G77_CROSS_NAME)$(manext); \ @@ -374,27 +374,27 @@ f77.install-man: $(srcdir)/f/g77.1 chmod a-x $(man1dir)/$(G77_INSTALL_NAME)$(manext); \ fi; \ else true; fi - rm -f $(prefix)/lang-f77 + rm -f $(libsubdir)/lang-f77 f77.uninstall: case "$(LANGUAGES)" in \ - *[fF]77*) touch $(prefix)/lang-f77;; \ - *) rm -f $(prefix)/lang-f77;; \ + *[fF]77*) touch $(libsubdir)/lang-f77;; \ + *) rm -f $(libsubdir)/lang-f77;; \ esac - @if [ -f $(prefix)/lang-f77 ] ; then \ + @if [ -f $(libsubdir)/lang-f77 ] ; then \ if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ echo " install-info --delete --info-dir=$(infodir) $(infodir)/g77.info"; \ install-info --delete --info-dir=$(infodir) $(infodir)/g77.info || : ; \ else : ; fi; \ else : ; fi - -if [ -f $(prefix)/lang-f77 ]; then \ + -if [ -f $(libsubdir)/lang-f77 ]; then \ rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext); \ rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext); \ rm -rf $(man1dir)/$(G77_INSTALL_NAME)$(manext); \ rm -rf $(man1dir)/$(G77_CROSS_NAME)$(manext); \ rm -rf $(infodir)/g77.info*; \ fi - rm -f $(prefix)/lang-f77 + rm -f $(libsubdir)/lang-f77 # # Clean hooks: # A lot of the ancillary files are deleted by the main makefile. diff --git a/gcc/f/news.texi b/gcc/f/news.texi index 7d8a19a9308..ea0a1312f03 100644 --- a/gcc/f/news.texi +++ b/gcc/f/news.texi @@ -9,7 +9,7 @@ @c in the standalone derivations of this file (e.g. NEWS). @set copyrights-news 1995-1999 -@set last-update-news 1999-05-26 +@set last-update-news 1999-06-04 @include root.texi @@ -151,7 +151,7 @@ is available at The following information was last updated on @value{last-update-news}: -@heading In 0.5.25 (@code{EGCS} 1.2) versus @code{EGCS} 1.1.2: +@heading In 0.5.25, @code{GCC} 2.95 (@code{EGCS} 1.2) versus @code{EGCS} 1.1.2: @itemize @bullet @ifclear USERVISONLY @item @@ -221,6 +221,12 @@ The new @samp{-fbounds-check} option causes @code{g77} to compile run-time bounds checks of array subscripts, as well as of substring start and end points. +@item +@code{libg2c} now supports building as multilibbed library, +which provides better support for systems +that require options such as @samp{-mieee} +to work properly. + @item Source file names with the suffixes @samp{.FOR} and @samp{.FPP} now are recognized by @code{g77} -- 2.30.2