Sorry for replying to myself, but I have an update on this:

I have now re-built binutils-2.18 with all the patches and I had to use
"CC=gcc-3.4" on the ./configure line to use that version of the host
compiler instead of my current gcc-4.2.1. I also re-built msp430-gcc 
Version 3.2.3 after applying patches and using the same host compiler.

I now have a compiler that supports a lot more devices, I.E: msp430-gcc
--target-devices now states:
---------------------------------------------------------------------------------

Known MCU names:
         msp1
         msp2
         msp3
         msp4
         msp5
         msp6
         msp430x110
         msp430x112
         msp430x1101
         msp430x1111
         msp430x1121
         msp430x1122
         msp430x1132
         msp430x122
         msp430x123
         msp430x1222
         msp430x1232
         msp430x133
         msp430x135
         msp430x1331
         msp430x1351
         msp430x147
         msp430x148
         msp430x149
         msp430x1471
         msp430x1481
         msp430x1491
         msp430x155
         msp430x156
         msp430x157
         msp430x167
         msp430x168
         msp430x169
         msp430x1610
         msp430x1611
         msp430x1612
         msp430x2001
         msp430x2011
         msp430x2002
         msp430x2012
         msp430x2003
         msp430x2013
         msp430x2101
         msp430x2111
         msp430x2112
         msp430x2121
         msp430x2122
         msp430x2131
         msp430x2132
         msp430x2232
         msp430x2234
         msp430x2252
         msp430x2254
         msp430x2272
         msp430x2274
         msp430x233
         msp430x235
         msp430x2330
         msp430x2350
         msp430x2370
         msp430x247
         msp430x2471
         msp430x248
         msp430x2481
         msp430x249
         msp430x2491
         msp430x2410
         msp430x2416
         msp430x2417
         msp430x2418
         msp430x2419
         msp430x2616
         msp430x2617
         msp430x2618
         msp430x2619
         msp430x311
         msp430x312
         msp430x313
         msp430x314
         msp430x315
         msp430x323
         msp430x325
         msp430x336
         msp430x337
         msp430x412
         msp430x413
         msp430x415
         msp430x417
         msp430x423
         msp430x425
         msp430x427
         msp430x4250
         msp430x4260
         msp430x4270
         msp430xG4250
         msp430xG4260
         msp430xG4270
         msp430xE423
         msp430xE4232
         msp430xE4242
         msp430xE4252
         msp430xE425
         msp430xE427
         msp430xE4272
         msp430xW423
         msp430xW425
         msp430xW427
         msp430xG437
         msp430xG438
         msp430xG439
         msp430x435
         msp430x4351
         msp430x436
         msp430x4361
         msp430x437
         msp430x4371
         msp430x447
         msp430x448
         msp430x449
         msp430xG4616
         msp430xG4617
         msp430xG4618
         msp430xG4619
         msp430x4783
         msp430x4784
         msp430x4793
         msp430x4794
         msp430x47166
         msp430x47176
         msp430x47186
         msp430x47196
         msp430x47167
         msp430x47177
         msp430x47187
         msp430x47197
         msp430x5418
         msp430x5419
         msp430x5435
         msp430x5436
         msp430x5437
         msp430x5438

  no emulation specific options.
-------------------------------------------------------------------------------
However, when I go to compile the libc files, I am still getting the initial
problem. I.E it stops at the 2001 device which according to the above is now
supported .....

What gives with libc??

Anyone have an answer for this.

This problem is even more reason that there should be an up-to-date wiki
that will allow people like myself to compile the tools without having to
spend days on forums to find out why the tools won't compile.. so I fully
support the current initiative to implement that. Bravo!

Thanks,
Bernie 

bmentink wrote:
> 
> Hi All,
> 
> I am trying to build the mspgcc tools. I have finally managed to compile
> msp430-gcc after some hassles with gcc versions both
> for the compiler and binutils.
> 
> My problem now is when I try to compile libc with the following procedure,
> I
> get errors regarding the device types that msp430-gcc supports vers what
> libc supports ... the appears to be some incompatibilities ..
> 
> The build process is:
> 
> cvs -z3 -d:pserver:[email protected]:/cvsroot/mspgcc
> co msp430-libc
>  cd msp430-libc/src
>  make
>  make install
> 
> And the errors I am getting during the compile are:
> 
> msp430-gcc -x assembler-with-cpp  -mmcu=msp430x2001 -I./../include -I.
> -Wa,-gstabs -c gcrt0.S -o crt430x2001.o
> cc1: error: MCU msp430x2001 not supported
> Known MCU names:
>    msp1
>    msp2
>    msp430x110
>    msp430x112
>    msp430x1101
>    msp430x1111
>    msp430x1121
>    msp430x1122
>    msp430x1132
>    msp430x122
>    msp430x123
>    msp430x1222
>    msp430x1232
>    msp430x133
>    msp430x135
>    msp430x1331
>    msp430x1351
>    msp430x147
>    msp430x148
>    msp430x149
>    msp430x1471
>    msp430x1481
>    msp430x1491
>    msp430x155
>    msp430x156
>    msp430x157
>    msp430x167
>    msp430x168
>    msp430x169
>    msp430x1610
>    msp430x1611
>    msp430x1612
>    msp430x2101
>    msp430x2111
>    msp430x2121
>    msp430x2131
>    msp430x311
>    msp430x312
>    msp430x313
>    msp430x314
>    msp430x315
>    msp430x323
>    msp430x325
>    msp430x336
>    msp430x337
>    msp430x412
>    msp430x413
>    msp430x415
>    msp430x417
>    msp430x423
>    msp430x425
>    msp430x427
>    msp430x4250
>    msp430x4260
>    msp430x4270
>    msp430xE423
>    msp430xE425
>    msp430xE427
>    msp430xW423
>    msp430xW425
>    msp430xW427
>    msp430xG437
>    msp430xG438
>    msp430xG439
>    msp430x435
>    msp430x436
>    msp430x437
>    msp430x447
>    msp430x448
>    msp430x449
> (null):0: confused by earlier errors, bailing out
> make: *** [crt430x2001.o] Error 1
> 
> 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.
> 
> 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.
> 
> Thanks
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/msp430-libc-compile-problems.-tp20982810p21008919.html
Sent from the MSP430 gcc - Users mailing list archive at Nabble.com.


Reply via email to