Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-13-2012, 07:06 AM   #1
Registered: May 2007
Posts: 75

Rep: Reputation: 3
How to make gcc output with color?


sometimes I have seen the output of gcc with colors. Now I have a system that doesn't do this, and I would like to make it so.

But how? 'man gcc' says nothing. Is it some other program that treats gcc output?
Old 01-13-2012, 07:23 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,840

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Have you tried a google search for "gcc color output"?
Old 01-13-2012, 07:24 AM   #3
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
Is it some other program that treats gcc output?
Yes, usually it's colorgcc. Unfortunetly, gcc itself not colorizes its output.
1 members found this post helpful.


color, colors, gcc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
why gcc make warning message dont show color font? wwqly12 Linux - Software 2 03-19-2009 04:55 PM
why gcc make error/warning messages dont show color font wwqly12 Linux - Software 1 03-18-2009 01:48 PM
Color registration bars on output: Lexmark C510 Color Laser printer spud_linux Linux - Hardware 2 10-06-2008 12:46 PM
Is the output of (chapter 6)gcc-3.3.3 make -k check correct?????? linuxbh Linux From Scratch 1 09-05-2004 08:37 AM
Changing the color of ls output? exitsfunnel Linux - Newbie 1 02-19-2004 11:20 PM

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration