This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: contrib/gcc_update: silent mode
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 18 Mar 2005 21:04:59 -0300
- Subject: Re: contrib/gcc_update: silent mode
- Organization: Red Hat Global Engineering Services Compiler Team
- References: <87mzt1kwjf.fsf@codesourcery.com>
On Mar 18, 2005, Zack Weinberg <zack@codesourcery.com> wrote:
> This patch adds a command-line option --silent to contrib/gcc_update,
> which makes it not print any of its chatty messages.
Unfortunately, ${silent+-Q} expands to -Q even if silent is blank.
${var+x} expands to x unless var is unset. ${var:+x} would do what
you meant, but it's not as portable, and unset isn't portable either.
How portable do we want gcc_update to be?
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}