GCC might call "cc". Issuing your command would have overwritten GCC's cc with your own. Then you deleted it, so GCC can no longer open "cc" . . . .
What could you do about this? You could reinstall GCC. Depending on your system, you might be able to copy a "cc" from a similar installation.
Though, on my Debian system,
cc is just a symlink, so you might be able to re-create it.
$ file /usr/bin/cc
/usr/bin/cc: symbolic link to `/etc/alternatives/cc'
On a side note: never touch /usr/bin. You can just create your own directory, say ~/bin, and put that directory in the PATH. It's a much better idea, for reasons that are probably painfully obvious.