This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Option processing by gcc.c et al.


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]