I had some serious problems with my ubuntu 10.4 partitions yesterday and fixed them using gparted - check partition.
But since then I cannot use gcc anymore (?):
gcc: no input files
name@machine:~/$ gcc test.c
gcc: error trying to exec 'cc1': execvp: No such file or directory
I searched the forum and people suggested to reinstall multiple packages: cpp, gcc, build-essential, cpp-4.4
I reinstalled them but the error stays...
Thx for your reply, the tree stump