I have installed gcc with brew and I have a Mac with Mojave. There is a way to compile with gcc or clang ? Because I use clang (is the default compiler) but sometimes I want to use gcc just saying gcc hello world.cpp
instead of set the default compiler.
Thanks