how to check the GCC's version on Mac press 'ctrl + shift + u' and open the 'Terminal', and then type a command 'gcc -v'