change gcc alias code example Example: export gcc g++ export CC=/usr/local/bin/gcc export CXX=/usr/local/bin/g++