FAQ

A1: check the gcc version in the terminal by:

  • 1) gcc --version, e.g., /usr/local/bin/gcc

  • 2) set the path in ~/.bashrc : export CC=/usr/local/bin/gcc

  • 3) update the environment by: source ~/.bashrc (twice)