[beagleboard] GCC not working on Angstrom

try these commands:

which gcc
whereis gcc

try executing the full path to the app. If works, check if the path is
in your $PATH:
echo $PATH