On Thu, Dec 1, 2011 at 1:27 PM, Peter Bigot <big...@acm.org> wrote:

> On Thu, Dec 1, 2011 at 1:06 PM, JMGross <msp...@grossibaer.de> wrote:
>
>> Hi!
>>
>> This time _I_ have a problem :)
>>
>> I want to write code for the new G series.
>> The mspgcc we use for development and production is the latest 3.2.3
>> windows build.
>> Since all our firmware is tested with this compile, a switch is not
>> intended for near future.
>> I have to stick on the old build.
>> Now I want to do small projects with the G series.
>> I know htat these have not been supported on the old mspgcc because they
>> are too new.
>> However, using the msp430x2012 setting, which comes close to the G2231,
>> disabled MPY
>> and a hand-tailored header file, i was able to compile some test code and
>> the generated
>> assembly looks good.
>> However, the linker refuses to link with an error "cannot represent
>> machine 'MSP:200' "
>> (Yes, "MSP:200" Where does this come from?)
>>
>
> In the binutils sources of that era there's a file
> ld/emulparams/msp430all.sh which creates the linker scripts.  According to
> the historical source repository, the MSP:200 architecture was removed and
> replaced by a reference to MSP:20 In November 2006.
>

On further thought, since gcc of that era thought it knew all about the
different chips the MSP:200 is probably being extracted from a value
written into the object file by the assembler based on information encoded
by gcc.

Based on the timeframe, I believe support for msp430f2012 was added after
development of mspgcc 3.x mostly stopped, so it may be that it never
worked, or that you've somehow got a combination of gcc and binutils where
that chip isn't consistently handled between the toolchain elements.

Peter
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to