This is the mail archive of the gcc-patches@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]

Re: problems with cvs -z9 update


Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:

> Again, thanks for the hint. Done.  (Interestingly ./configure does use
> -o as well!)

I'd call that a bug :-)

>> I don't think the `-A' should be here; it defeats the purpose of
>> egcs_latest_snapshot, for instance

> Indeed I thought about it and my idea was that for new users it might
> be useful. I have now made this easily configurable in my local version:

>   UPDATE_OPTIONS=-P

How about:

if test x"${1}"x = x"--nostdflags"x; then
    shift
else
    set -- -P -d ${1+"$@"}
fi

then call cvs as:

cvs -q update ${1+"$@"}

Then you could call:

contrib/egcs_update -r egcs_latest_snapshot

or:

contrib/egcs_update -A

or even:

contrib/egcs_update --nostdflags -P -r egcs_1_1_branch gcc/testsuite

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



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