Date: Sun, 23 Jan 2011 18:59:31 -0600 From: "Michael D. Norwick" <mnorwick@centurytel.net> To: freebsd-questions@freebsd.org Subject: Re: Colorized compiler/linker messages Message-ID: <4D3CCEF3.5050005@centurytel.net> In-Reply-To: <20110123230733.GA24421@mark-debian.phub.net.cable.rogers.com> References: <4D3B8BD4.5010606@centurytel.net> <20110123230733.GA24421@mark-debian.phub.net.cable.rogers.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D3CCEF3.5050005>