PDA

View Full Version : [ubuntu] Can't execute gcc.real : No such file or directory



Lan Hyde
August 6th, 2012, 06:48 PM
hello, I'm new to Ubuntu. I deleted the file /usr/bin/gcc, /usr/bin/g++ and use the next command to create new ones:


sudo ln -s /usr/bin/gcc-4.4 /usr/bin/gcc
sudo ln -s /usr/bin/g++-4.4 /usr/bin/g++but when compiling the source code of android 4.0.1, something went wrong:

Unable to exec gcc.real: No such file or directory?what's gcc.real? where is it? and how to fix the issue? thanks~