This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
A much needed simplification of g77 and libf2c's Makefiles.
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 15 Nov 2001 22:23:02 +0100
- Subject: A much needed simplification of g77 and libf2c's Makefiles.
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
L.S.,
The Make-lang.in in the gcc/f directory and the Makefile.in's in libf2c
and its subdirectories contain (a lot of instances of) the following
code:
case "$(LANGUAGES)" in \
*[fF]77*) $(STAMP) lang-f77;; \
*) rm -f lang-f77;; \
esac
if [ -f lang-f77 ]; then \
... do something ...; \
else true; fi
I get the impression that this code is a left-over from the days that
LANGUAGES="foo,bar,baz" dictated which languages got build and that the
writer of the Fortran Makefiles (probably Dave Love) wanted to prevent
all sort of actions (like building the Fortran run-time library) when
f77 wasn't part of LANGUAGES.
Now that this mechanism has been deprecated, it might make sense to
remove this stuff from the various Fortran Makefiles.
I plan to do this, unless someone comes up with a very good reason not
to.
Thanks in advance for any insight offered.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)