LLVM GCC 4.2 Error Can't exec '/usr/bin/gcc-4.0' (No such file or folder)

Please help!!

I've upgraded from Snow Leopard to Lion (OSX 10.7.2) and then downloaded Xcode 4.2.1 successfully. However, when I created a new empty application without making any changes to the main.m or anything and click the Run triangle button, I got the build error. Can anyone help me out with this? I tried many things and they all failed.

* Reinstall 4.1 and then 4.2

* Uninstall 4.2.1 using the /Developer/Library/uninstall-developer-folders and reinstall 4.2.1


I cannot use Xcode for anything now. :-(


-usapokemon

Mac OS X (10.7.2), Xcode 4.2.1

Posted on Jan 9, 2012 6:50 PM

Reply
6 replies

Jan 16, 2012 1:19 PM in response to etresoft

Hi,


I did. I still couldn't compile any code. I remove all folders using sudo /Developer/Library/uninstall-developer-folder mode=all and reinstall Xcode 4.2.1. But the problem persists no matter how I tried. Does any one have the same problem? All these problem occurred after I upgraded Snow Leopard to Lion and Xcode 3 to Xcode 4.2.1. I also tried to install Ruby 1.9.3 and failed. That was my original reason to upgrade from Snow Leopard to Lion.


-Help!!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

LLVM GCC 4.2 Error Can't exec '/usr/bin/gcc-4.0' (No such file or folder)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.