-march=name
This specifies the name of the target architecture.
But in your case target is TI (c64x) board
i.e its arm architecture
. to compile your program for arm architecture you need cross-compiler
. But you trying to compile on x86
gcc native-compiler
with option -march which is different from target target. i.e "gcc" is a native compiler. In your case it appears you are not working on an ARM host, thus "gcc" will not compile for ARM on x86.
so download the cross-compiler tool chain and then compile your program with your options.
cross compiler for ubuntu is here
http://www.filewatcher.com/m/gcc-c6x-linux-gnu-4.7.1-0.1.20120606.fc18.1.i686.rpm.10801432-0.html