This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] GDB testsuite: Suppress GCC's colored output
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 04 Aug 2017 12:06:56 +0100
- Subject: Re: [PATCH] GDB testsuite: Suppress GCC's colored output
- Authentication-results: sourceware.org; auth=none
- References: <m3vam527qh.fsf@oc1027705133.ibm.com>
Andreas Arnez <arnez@linux.vnet.ibm.com> writes:
Hi Andreas,
> + # Stop the compiler from producing colored output.
> + setenv GCC_COLORS ""
> +
This doesn't work for remote host. How about passing option
-fno-color-diagnostics to compiler which supports that option? Both gcc
(4.9 and later) and clang has this option.
--
Yao (齐尧)