This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Option processing by gcc.c et al.
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 25 Oct 2004 22:00:16 +0200
- Subject: Option processing by gcc.c et al.
- Organization: Moene Computational Physics, Maartensdijk, NL
L.S.,
Currently, the following command line:
gfortran -r8 bla.f
draws the following (warning) message:
gfortran: unrecognized option: -r8.
This is issued from line 6274 of gcc.c:
/* Now that we have the switches and the specs,
... */
/* Warn about any switches that no pass was interested in. */
for (i = 0; (int) i < n_switches; i++)
if (! switches[i].validated)
error ("unrecognized option `-%s'", switches[i].part1);
which is rather strange, as the specs file doesn't list "all switches
that everyone is interested in", it just lists those switches the front
end drivers want to be processed specially.
What's going on here ?
--
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/