This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How is lang.opt processed?
Steve Kargl wrote:-
> 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.
Ah, OK. I assumed that since you referred to lang.opt (the title
of this whole thread) you were looking in the front ends. The
driver and lang.opt are completely separate; the driver runs in
the fabulous world of specs, which as you've noticed suck. They're
reasonably well documented in gcc.c though. Changing how they work
will give you more than a headache.
Neil.