https://github.com/ext/gcc-color
Filter gcc output for warnings and errors and color accordingly
https://github.com/ext/gcc-color
Last synced: about 1 year ago
JSON representation
Filter gcc output for warnings and errors and color accordingly
- Host: GitHub
- URL: https://github.com/ext/gcc-color
- Owner: ext
- Created: 2009-06-11T16:41:27.000Z (about 17 years ago)
- Default Branch: master
- Last Pushed: 2011-06-21T17:21:07.000Z (about 15 years ago)
- Last Synced: 2025-04-12T20:52:08.082Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 93.8 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
gcc-color
Filter gcc output for warnings and errors and colors accordingly.
Install instructions
* Get the full name of your compiler
Eg. i686-pc-linux-gnu-gcc, x86_64-pc-linux-gnu-g++ etc.
* Somewhere in your path create symlinks to gcc-compiler-color.py named after
the full name but with -color appended.
Eg. i686-pc-linux-gnu-gcc-color, x86_64-pc-linux-gnu-g++-color
* If you intend to use this when compiling autotools projects etc you export CC
and CXX set to the previously added "compilers".
gcc-compiler-color.py calls the compiler bases on the name of the symlink.
Eg. x86_64-pc-linux-gnu-g++-color call x86_64-pc-linux-gnu-g++
If you would like to disable colors for a single session just export NOCOLOR set to yes.