Colorize error messages from various compilers
-
install golang
Ubuntu:
$ sudo apt-get install golang
-
clone
$ git clone https://github.com/bearmini/crror.git ~/crror
-
setup $PATH and $GOPATH
$ export PATH=$PATH:~/crror $ export GOPATH=~/golang
you may need to have the above 2 export lines in your .bashrc
feed output from a compiler/linker commands
$ crror make
or
$ crror gcc test.c
feed compiler/linker output from a log file
$ make 2>&1 > build.log
$ crror build.log