How is lang.opt processed?
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Mar 12 02:40:00 GMT 2005
On Sat, Mar 12, 2005 at 11:04:22AM +0900, Neil Booth wrote:
> Toon Moene wrote:-
>
> > >Thanks for the detailed explanation of how
> > >GCC options work. I'm currently thinking
> > >of proposing a RFC with recommendations on
> > >how to address this problem with gfortran.
> >
> > Ditto. Jim, are you reading from some documentation about this option
> > processing that I couldn't find ? I've spend hours and hours to try to
> > deduce the option processing rules from debugging various parts of the
> > gcc driver, with no success.
>
> gcc -v
>
> is worth using just to see what it's passing to the underlying
> programs. This would have immediately revealed that -i8 and -r8
> are being lost in the driver.
Yeah, tell us something we did not know! The problem, until
Jim explained option handling, is *why* these were not passed
to gfortran. Finding the info is/was non-obvious. What is
even more appalling is that there is no way to inhibit the
swallowing of the options.
--
Steve
More information about the Gcc
mailing list