msp40-gcc.exe test1.c -mmcu=msp430x149 -Wl, -section-start -Wl,.ROMpar=0xb400 -O test1.c -o test1 -ggdb
I have installed msp430-gcc .....I am attempting to compile test1.c ( blinks a led ) and has #include<io.h> as the first line. I am running within an test editor ( C-Edit) but the same result happens if I run in a dos prompt ( above). It appears as if the compiler runs out of stack space or something since it starts to generate c/mspgcc/msp430/incluse/msp430/iostructures.h:106 invalid preprocessing directive #endif and then every #ifdef #endif there after is flagged. All # directives on lines prior to 106 in iostructures are processed OK. The nesting tree is from io.h:51 ... msp430x14x.h:27...gpio.h:1 ..iostructures.h The compiler also will very rarely with out any changes to test1.c (or the make process) generate a segment error. Since I am a newsier to this compiler I am reluctant to throw in a bug report since it is probably a newbie type error Doug