From owner-freebsd-questions@FreeBSD.ORG Sun Jan 23 05:01:37 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 B1194106566C for ; Sun, 23 Jan 2011 05:01:37 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id 4CAEB8FC15 for ; Sun, 23 Jan 2011 05:01:36 +0000 (UTC) Received: from omta13.westchester.pa.mail.comcast.net ([76.96.62.52]) by qmta10.westchester.pa.mail.comcast.net with comcast id yszd1f00117dt5G5At1dqA; Sun, 23 Jan 2011 05:01:37 +0000 Received: from comcast.net ([98.203.142.76]) by omta13.westchester.pa.mail.comcast.net with comcast id yt1b1f0031f6R9u3Zt1b3s; Sun, 23 Jan 2011 05:01:37 +0000 Received: by comcast.net (sSMTP sendmail emulation); Sat, 22 Jan 2011 21:01:33 -0800 Date: Sat, 22 Jan 2011 21:01:33 -0800 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20110123050133.GA87892@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D3B8BD4.5010606@centurytel.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4D3B8BD4.5010606@centurytel.net> User-Agent: Mutt/1.4.2.3i X-Mailer: Mutt 1.4.2.3i X-Composer: Vim 7.3 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: Sun, 23 Jan 2011 05:01:37 -0000 On Sat 22 Jan 2011 at 18:00:52 PST 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? CMake can be used to generate Makefiles that produce colorized output, and I would wager that it's being used by most of the ports where you're seeing color. But there are many tools a developer might use for this. For example, I found this in my bookmarks file: http://phil.freehackers.org/pretty-make/index.html I think it's mostly aesthetics, but some people claim that using different colors for different build steps makes it easier to monitor the progress of the build. For example, if the link or install steps are a different color than the configuration or compile steps, you can see that the build is in its final stages even if you're on the other side of the room.