fpmwvw
Last Updated: February 25, 2016
·
1.074K
· artchang
Photo sep 26  14 31 57

make: /usr/bin/gcc-4.2: No such file or directory

Every time I set up a new development environment, gcc-4.2 always errors out because it's no longer included in the newer mac osxs. Here is the fix using homebrew

$ brew tap homebrew/dupes

$ brew install apple-gcc42

$ sudo ln -s /usr/local/bin/gcc-4.2 /usr/bin/gcc-4.2

Say Thanks
Respond