This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remember configure's options for later recall
On Thu, Sep 28, 2000 at 08:55:57PM -0700, Richard Henderson wrote:
> On Wed, Sep 27, 2000 at 05:55:52PM -0400, Phil Edwards wrote:
> > So that when users come to us with some freaky weird problem, we have an
> > easier way of answering the question, "Did J. Random User configure GCC
> > with --with-foo or with --disable-bar? Or maybe with some rarely-tested
> > unusual combination? Maybe J.R.U. didn't have anything to do with the
> > GCC installation; maybe the sysadmin at that site is off his rocker," etc.
> >
> > There are a lot of configure --with's and --enable's for v3 that interact
> > in really "interesting" ways, and I mean "interesting" in the sense of
> > the old Chinese curse. (And not just for v3, I'm sure.)
>
> Why don't you have it printed out by gcc -v, then?
Ironic; I thought about that, too, but figured that messing with the
command-line options' effects would be rejected on sight.
And briefly thought about "one -v does what it does, two -v's gives the
config options," but that would make -v the only non-idempotent option.
Bad idea.
Sure, if you think using -v would be a better method, I'm up for that.
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.