the c6runapp--cc script, if anyone has noticed, mangles the names of the source files.
What's not acceptable is that it loses the path information, so you have to run the c6runapp--cc script in the directory of the source file you're compiling.
If I tell it to compile ./src/foo.c -o /dsp/foo.o then it should. It doesn't, currently (4.02).
Please, TI fix this!