Advertisement
Guest User

colorgcc config

a guest
Oct 24th, 2021
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.17 KB | None | 0 0
  1. I possibly goobered something here too with colorgcc (https://wiki.archlinux.org/title/Ccache#Enable_with_colorgcc)
  2.  
  3. I changed the "/usr/bin" paths to "/usr/lib/ccache/bin"
  4.  
  5. Here's my /etc/colorgcc/colorgccrc
  6.  
  7. #
  8. # colorgcc configuration file
  9. #
  10. # This file should be named $HOME/.colorgccrc
  11. #
  12. #
  13. # The following groups of attributes may be combined for a given color:
  14. #
  15. # clear         black      on_black
  16. # reset         red        on_red
  17. # bold          green      on_green
  18. # underline     yellow     on_yellow
  19. # underscore    blue       on_blue
  20. # blink         magenta    on_magenta
  21. # reverse       cyan       on_cyan
  22. # concealed     white      on_white
  23. #
  24. # For example, srcColor: bold cyan on_yellow
  25. #
  26.  
  27. # If you are using colorgcc in chain with other tools
  28. # e.g. ccache, uncomment this:
  29. chainedPath: 1
  30.  
  31. # Only define the paths to the actual location of the various compilers
  32. # if you need to do something weird.  For normal installs,
  33. # we'll figure out who to call next automatically based on $PATH.
  34. # If the requested compiler is not found => search "gcc"
  35.  
  36. # Define aliases for the usual compilers to allow using colorgcc
  37. # without path munging.  (E.g. make CXX=color-g++)
  38. color-g++: /usr/lib/ccache/bin/g++
  39. color-gcc: /usr/lib/ccache/bin/gcc
  40. color-c++: /usr/lib/ccache/bin/c++
  41. color-cc:  /usr/lib/ccache/bin/cc
  42.  
  43. # Uncomment this if you want set up default path to gcc
  44. #g++: /usr/bin/g++
  45. #gcc: /usr/bin/gcc
  46. #c++: /usr/bin/c++
  47. #cc:  /usr/bin/cc
  48.  
  49. # Don't do color if our terminal type ($TERM) is one of these.
  50. # (List all terminal types on one line, seperated by whitespace.)
  51. nocolor: dumb
  52.  
  53. # Text between ` and ' is usually source code.
  54. srcColor: bold cyan
  55.  
  56. # Text other than a warning or error.
  57. introFileNameColor: reset
  58. introMessageColor:  blue
  59.  
  60. # Warnings and errors both have similar formats:
  61. #    filename:999:Message
  62. # Each field may be assigned a different color.
  63.  
  64. # Warnings
  65. warningFileNameColor: reset
  66. warningNumberColor:   white
  67. warningMessageColor:  yellow
  68.  
  69. # Errors
  70. errorFileNameColor: reset
  71. errorNumberColor:   white
  72. errorMessageColor:  bold red
  73.  
  74. # Notes
  75. noteFileNameColor: reset
  76. noteNumberColor:   white
  77. noteMessageColor:  green
  78.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement