This is the mail archive of the gcc@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: proposal: Default settings from environment


> I think an easy way to do this would be for gcc to read default values from 
> the environment.  I imagine it would not be difficult to add such a patch.
> 
> Before I submit a patch, I'd like to know what others think about this idea, 
> or would anyone like to propose an alternative.

It's been proposed many times before.  The reason this is not done by
default is that it makes bug hunting more difficult; now the "default"
environment cannot be easily predicted based on the platform.  Your users
might then report bugs to us that we have no way of reproducing, because
the -foo option was in use without the user ever having typed it.

Of course you're free to make such changes to your own copy of the code,
and then install the modified copy for your corporate environment.  If you
do this, please change the bug-reporting email address and URL in the
source to point to you.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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