How is lang.opt processed?
Neil Booth
neil@daikokuya.co.uk
Sat Mar 12 03:00:00 GMT 2005
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.
More information about the Gcc
mailing list