Hi, I run the following command. But I got an error for gcc. Does anybody know what is wrong? Thanks.
~$ sudo port select --set gcc mp-gcc47 Selecting 'mp-gcc47' for 'gcc' succeeded. 'mp-gcc47' is now active. ~$ ls -l $(which gcc) lrwxr-xr-x 1 root admin 25 Jun 28 15:09 /opt/local/bin/gcc -> /opt/local/bin/gcc-mp-4.7 ~$ gcc --version gcc-mp-4.7: error trying to exec '/opt/local/bin/i686-apple-darwin11-llvm-gcc-4.2': execvp: No such file or directory ~$ g++ --version g++ (MacPorts gcc47 4.7.3_0) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Regards, Peng _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
