Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README (copied from colorgcc.pl)
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,41 @@ | |||
colorgcc | |||
|
|||
Version: 1.3.2 | |||
|
|||
A wrapper to colorize the output from compilers whose messages | |||
match the "gcc" format. | |||
|
|||
Requires the ANSIColor module from CPAN. | |||
|
|||
Usage: | |||
|
|||
In a directory that occurs in your PATH _before_ the directory | |||
where the compiler lives, create a softlink to colorgcc for | |||
each compiler you want to colorize: | |||
|
|||
g++ -> colorgcc | |||
gcc -> colorgcc | |||
cc -> colorgcc | |||
etc. | |||
|
|||
That's it. When "g++" is invoked, colorgcc is run instead. | |||
colorgcc looks at the program name to figure out which compiler to run. | |||
|
|||
The default settings can be overridden with ~/.colorgccrc. | |||
See the comments in the sample .colorgccrc for more information. | |||
|
|||
Note: | |||
|
|||
colorgcc will only emit color codes if: | |||
|
|||
(1) Its STDOUT is a tty and | |||
(2) the value of $TERM is not listed in the "nocolor" option. | |||
|
|||
If colorgcc colorizes the output, the compiler's STDERR will be | |||
combined with STDOUT. Otherwise, colorgcc just passes the output from | |||
the compiler through without modification. | |||
|
|||
Author: Jamie Moyers <jmoyers@geeks.com> | |||
Started: April 20, 1999 | |||
Licence: GNU Public License | |||
|