This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran] Let f951 generate type infos for SELECTED_*_KIND
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: GCC Fortran mailing list <fortran at gcc dot gnu dot org>
- Cc: patch <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 05 Oct 2004 00:54:44 +0200
- Subject: Re: [gfortran] Let f951 generate type infos for SELECTED_*_KIND
- References: <415FD810.3000502@physik.uni-muenchen.de>
Tobias Schlüter wrote:
> This straightforward patch implements this. The only non-trivial part was
> finding out how to pass the new option to f951 during the build, but this
> turned out to be trivial as well, after I had found the correct driver option.
Unfortunately, I hadn't thought aobut multilibbed targets. These call the same
compiler, but with different options, e.g. 'f951 -m32' vs. 'f951 -m64'. This
of course breaks my patch. There's no -Wc options, which would allow running
"$(F77COMPILE) -Wc,-output-real-type-infos", and I also didn't find another
solution. If anybody knows an elegant solution for how to run the compiler as
opposed to the compiler driver with the correct options, I'm listening.
Thanks,
- Tobi