Hi, there is a tip on a forum to copy /usr/bin/ from backup files to your disk without overwrite files. For some guys it works for some not. For me its not working. Maybe some configuring need to be done. Another way is to use optware download some packages. Unfortunately I didnt discover, which to get gcc back to work. But maybe you can try. Im Linux newbie, so maybe I missed some configuration needed, I dont know. I just followed instructions from these pages.

A better test is to just run: gcc
If it replies: -bash: gcc: command not found
you don't have gcc. You could download gcc for ARM, or cross compile it yourself. But that's not easy, maybe someone else has already done that for you.