Tool/software: TI C/C++ Compiler
The command line is: /usr/ti/gcc/bin/msp430-elf-gcc -Wl,-L/usr/ti/gcc/include,--gc-sections -mmcu=msp430f249 -g ...
This generates errors like:
/usr/ti/gcc/bin/../lib/gcc/msp430-elf/7.3.2/../../../../msp430-elf/bin/ld: error: main.o uses MSP430 instructions but /usr/ti/gcc/bin/../lib/gcc/msp430-elf/7.3.2/../../../../msp430-elf/lib/crt0.o uses MSP430X
This is using the current version of gcc downloaded this week.
I will have to see if I can assemble a direct invocation of ld. Assuming that I find a suitable set of library files.