From owner-freebsd-questions@FreeBSD.ORG Mon Jan 24 00:59:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C38D106566C for ; Mon, 24 Jan 2011 00:59:35 +0000 (UTC) (envelope-from mnorwick@centurytel.net) Received: from mail938c35.nsolutionszone.com (mail938c35.nsolutionszone.com [209.235.152.128]) by mx1.freebsd.org (Postfix) with ESMTP id B03088FC15 for ; Mon, 24 Jan 2011 00:59:34 +0000 (UTC) X-Authenticated-User: mnorwick.centurytel.net Received: from blacky.norwickhouse.net (174-124-35-119.dyn.centurytel.net [174.124.35.119]) (authenticated bits=0) by mail938c35.nsolutionszone.com (8.13.6/8.13.1) with ESMTP id p0O0xVH2006668 for ; Mon, 24 Jan 2011 00:59:33 GMT Message-ID: <4D3CCEF3.5050005@centurytel.net> Date: Sun, 23 Jan 2011 18:59:31 -0600 From: "Michael D. Norwick" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100629 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D3B8BD4.5010606@centurytel.net> <20110123230733.GA24421@mark-debian.phub.net.cable.rogers.com> In-Reply-To: <20110123230733.GA24421@mark-debian.phub.net.cable.rogers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=EPoj7wgUeVyKjaH7/GZrAFhdP9HMntg8E2U5jSAgPVE= c=1 sm=1 a=Futu29cXXscA:10 a=8nJEP1OIZ-IA:10 a=1kf9EuSGpTLFoLf9O9aMsA==:17 a=6I5d2MoRAAAA:8 a=iInTPrwVVoWiH2aKt6EA:9 a=vEP6OVz6utb0cMO_11cA:7 a=V7mWGeGcfQcAwsBtvfwk3V9P6Y0A:4 a=wPNLvfGTeEIA:10 a=SV7veod9ZcQA:10 a=1kf9EuSGpTLFoLf9O9aMsA==:117 Subject: Re: Colorized compiler/linker messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2011 00:59:35 -0000 On 01/23/2011 17:07, Mark Johnston wrote: > On Sat, Jan 22, 2011 at 08:00:52PM -0600, Michael D. Norwick wrote: > >> Good Day, >> >> I have seen this for some time when building ports and was wondering >> how it was done. GCC when compiling and linking certain programs, >> ebook for example, emits messages in various colors. How is that >> done? Where does one find what the various colors are supposed to >> signify? Or, is it just because it's more appealing? >> >> Thank You, >> >> Michael >> > I'm not sure about ebook specifically, but there's a wrapper for gcc called > colorgcc which colorizes the diagnostics and errors that gcc emits. The idea is > that one can just do something like "CC=colorgcc make" when building. > > I'm sure there are other programs out there that do something similar, > but colorgcc is the most common I think. Apparently there are similar > wrappers for make and diff as well. > > -Mark > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Thank You, I'll look up the man pages for colorgcc and see if it is installed on my system. This explains a lot. Michael