At 15:20 12-11-05 +1000, you wrote: >Dtran and others who have have mentioned problems compiling for >MSP430x2 are correct. > >Here are two specific COMPILING and LINKING problems arising >with the binary Windows distribution of 26 October 2005. > >These problems have NOTHING TO DO with msp430-gdb, msp430-gdbproxy or >with downloading. > >1. COMPLIATION failure reason: header file iostructures.h has >only been partially updated due to incomplete macros. Easily >fixed as below. Nothing to do with the compiler. > >2. LINKER failure reason: msp430-ld (version 2.16) does not >'support emulation' for msp430x2131. This results in linker >failure. Supported emulation modes can be confirmed from >msp430-ld -V. >Actual output below.
The linker vlag only tells the linker which scripts and libraries to use. There is no black magic involved. You can specify all these on the command line of ld. If you run ld in a verbose mode with a known emulation, you'll see which files are used. Copies references to these files into the makefile and you're well on your way. Nico Coesel