본문 바로가기
Linux/Ubuntu

[Ubuntu] GCC 빌드시 Warning, Error 색상 변경.

by 어발 2021. 1. 10.

1. bashrc 파일 열기

$ vi ~/.bashrc

2. 맨 아래쪽에 하기 내용 입력

export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret01:32:locus01:quote=01'

3. 수정된 bashrc 파일 적용.

$ source ~/.bashrc

 

728x90

댓글