What is the difference between using
gcc versus using
gcc-msp430? When I run
man gcc, there are msp430 options that I can set using
-mmcu=. However, whenever I run
gcc to compile a code for the msp430, I get the following error:
$ gcc -Os -Wall -g -mmcu=msp430g2553 -c main.c gcc: error: unrecognized command line option ‘-mmcu=msp430g2553’ make: *** [Makefile:11: main.o] Error 1
What is wrong here? I'm on Fedora Linux if that makes a difference.