-
Notifications
You must be signed in to change notification settings - Fork 0
a fork of colorgcc which supports gcc, sun, ibm, hp and intel compilers
License
dgoncharov/colorgcc
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a fork of colorgcc which supports gcc, sun, ibm, hp and intel compilers and includes a few enhancements in gcc support. This version includes patches made by the gentoo developers to the original colorgcc-1.3.2. sun, ibm, hp and intel support and gcc enhancements added by Dmitry Goncharov. # colorgcc # # Version: 1.3.2 # # $Id: colorgcc,v 1.10 1999/04/29 17:15:52 jamoyers Exp $ # # 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 <[email protected]> # Started: April 20, 1999 # Licence: GNU Public License # # Credits: # # I got the idea for this from a script called "color_cvs": # color_cvs .03 Adrian Likins <[email protected]> <[email protected]> # # <[email protected]> (Scott Harrington) # Much improved handling of compiler command line arguments. # exec compiler when not colorizing to preserve STDOUT, STDERR. # Fixed my STDIN kludge. # # <[email protected]> (Elias S. G. Carotti) # Corrected handling of text like -DPACKAGE=\"Package\" # Spotted return code bug. # # <[email protected]> (Erwin S. Andreasen) # <[email protected]> (Steve Churchill) # Return code bug fixes. # # <[email protected]> (Rik Hemsley) # Found STDIN bug.
About
a fork of colorgcc which supports gcc, sun, ibm, hp and intel compilers
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published