I'm running macOS Mojave (10.14.6) and carried out the following instructions: Page 1 Page 2 Page 3
I've followed the instructions without any problems so far but when I enter "type gcc" into the terminal like the book asks on page 3, I get the following:
$ type gcc
gcc is /usr/bin/gcc
The book makes it clear that if the the bash shell is locating gcc from a different directory, the PATH is not set correctly. So how do I fix the PATH so that the bash shell locates gcc at the desired directory (“/opt/gcc-arm/bin/gcc”)?