Hi Bernard,

> ... <snip>
> I have built the latest 3.4 version of msp-gcc as the
> devices supported by
> by 3.3 were even more limited.
> I had a look in the makefile of msp430-libc and there are
> heaps of devices there that are not in the compiler list.

Ok If you use binutils 2.18 (or 2.19) then you need to apply the patches in 
http://mspgcc.cvs.sourceforge.net/viewvc/mspgcc/packaging/patches to get 
support for the 2001 device.

You get get these files from cvs by,

cvs -z3 -d:pserver:[email protected]:/cvsroot/mspgcc co 
packaging

apply these to the binutils tree,

eg 
cd binutils-2.18
export PATCHES=../packaging/patches
patch -p1 < 
$(PATCHES)/binutils-2.18-14x1-20x1-20x2-20x3-22x4-42x-42x0-461x.patch
patch -p1 < $(PATCHES)/binutils-2.18-msp430x24x-msp430x26x.patch
patch -p1 < $(PATCHES)/binutils-ld_scripts.patch
patch -p1 < $(PATCHES)/binutils-2.18-430X.patch


> What is the story here, do I need an even later version of
> the compiler? I have tried to compile the 4.1.1 version of msp-gcc but
> I am getting compile errors ... looks like it is not quite
> ready yet.

The version of gcc to use is 3.2.3 (as on the web page), gcc-4.x does not work, 
3.2.3 is the only choice and is the one that the latest devices have been added 
too.


Peter Jansen


      Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now 
http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline

Reply via email to