GitXplorerGitXplorer
e

gcc-color

public
5 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
3ad9a4780bbc039dfd317663c86d9a7d1d673f83

support for 'fatal error'

eext committed 14 years ago
Unverified
51c2f0e49cfcc62ca0b075d29a210e37d669d551

quick update to write output while compiler is running; useful when compiling many files at once or a really large file (e.g. boost stuff)

eext committed 14 years ago
Unverified
dc9c2a9efcb67e21cba935774bbbb6af8dbcc322

python 3.1 compability

eext committed 15 years ago
Unverified
4b12ba736a1ebc57813fc3621a79d800d9549bba

Fixed issue when gcc outputs one word only

eext committed 16 years ago
Unverified
8dd6423b2438b0c11dad8155199e4da726537c31

Applied licence and fixed issue with NOCOLOR being set to "no"

eext committed 16 years ago
Unverified
8f3b7c819a2971ce1da3f8fee14afe6ca509e640

initial release

eext committed 16 years ago

README

The README file for this repository.

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.