[RFC] Let's kill specs, completely rewrite gcc.c
Neil Booth
neil@daikokuya.demon.co.uk
Mon Jan 8 15:51:00 GMT 2001
Nick Clifton wrote:-
> There is still a need for permanent run-time configuration of command
> line options.
Yes. I must admit that until this thread, I wasn't aware this was
possible. I knew there were switches to read in specs from a file,
but I'd never considered what that was for or what it implied.
> SPEC scripts used to be able to do this, but if we do
> not support them, then we will need to provide another mechanism.
> Perhaps a new command line option which takes a file name argument,
> reads the file, parses it and adds the contents as new entries in the
> builtin command line option table. Possibly there should be an
> environment variable which would have the same effect as well.
Yup. It would require a run-time qsort, which would add some overhead
(sorting around 500 strings, say).
Neil.
More information about the Gcc
mailing list