Dmitry <di...@mail.ru> writes: > Again, do not forget -Wl,-uInterruptVector !!! > I just tried: > msp430-gcc m.c -mmcu=msp430x149 -O2 -ffunction-sections > -Wl,--gc-sections > > -Wl,-uInterruptVectors -o main.elf -g > > And it works fine.
Yes, but it bails out on -fdata-sections: "Internal compiler error in unique_section, at config/msp430/msp430.c:1887" Regards, --Daniel