Hello, I am trying to build the toolchain using the GNU sources and the mspgcc patches from CVS, since the binary distribution we have been using is old and doesn't support some of the newest chips.
I am having trouble finding out which versions are known to work and so on, but what I have done so far is use the latest binutils (2.17), gcc 3.2.3 and gdb 6.0. As far as I can tell, gcc 3.2 is the most well supported for msp430, is that right? I am not sure about binutils, but 2.17 built ok and appears to work superficially. I am having trouble compiling gdb 6.0 with the patches from the gdb-current directory checked out of CVS about a week ago. It fails like this: gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR="\"/mnt/devel/mspgcc/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized gdbtypes.c gdbtypes.c: In function ‘recursive_dump_type’: gdbtypes.c:3059: error: invalid lvalue in increment make[1]: *** [gdbtypes.o] Error 1 make[1]: Leaving directory `/mnt/devel/mb/mspgcc/gdb-6.0/gdb' make: *** [all-gdb] Error 2 The compiler I am using to build it is gcc 4.0.0 from mid-2005. I'm just wondering if there is a well-known solution to this problem. Any help would be appreciated.
