This is the mail archive of the gcc-patches@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]

Re: [gfortran] Let f951 generate type infos for SELECTED_*_KIND


Paul Brook wrote:
> Can't you rename the option to -fsomething? That should be passed properly, so 
> you won't need the --print-prog-name= stuff. You can just do gfortran 
> -fsomething -o file.inc.

Won't work per se, because the driver only calls the compiler if a source file
is given. This can of course be helped by adding a bogus filename to the
command line.

> Maybe look how the -M options work in the C frontend.

They also need a source file.

I'll look into this tomorrow,
- Tobi


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