Hi Matthias,

> don't call the linker by your own, call the msp430-gcc instead with 
> proper options.
> If you want to link, don't use -c
> For special linker options use -Wl,
> see also msp430-gcc --help

Thanks for the info. I should have been clear, it wasn't that I was
trying to link as a separate step it was when the linker was being
executed. I am using msp430-gcc to do all the work (this is a simple
test source for now):

    msp430-gcc -mmcu=msp430f2619 main.c -o test

But it is good to know that in a more complex project that I should
still use msp430-gcc to perform the link step.

> inside the zip are a lot of memory.x files

[snip list of memory.x files]

Thank you for the list. I had found them but only in the msp430mcu
archive. Are they meant to be in the mspgcc archive as well? I wasn't
sure whether I was required to install them separately or not as some of
the msp430mcu package seemed to be installed with the main mspgcc (the
headers) but not others (the linker scripts).

I already had msys installed so I installed the msp430mcu headers and
linker scripts and built msp430libc and I can correctly build my test
project for the msp430 now.

Thank you for your help.

> Am 08.06.2012 16:57, schrieb David McMinn:
>> Hello,
>>
>> I am trying to use the latest mspgcc after having previously tried the old
>> (prior to mspgcc4 being merged back in) mspgcc. I can get by with Unix like
>> OSes but me going through this is to potentially show Windows only/oriented
>> people how to work with mspgcc.
>>
>> I downloaded the latest Windows package (mspgcc-20120406-p20120502.zip) and
>> extracted it to c:\mspgcc.
>>
>> Do I need to also install the libc and msp430mcu packages separately? When I
>> try to link I get an error from ld.exe not being able to find memory.x,
>> which is correct as I cannot find it in my mspgcc installation. I can find
>> it in the msp430mcu package along with the install.sh to install it, but
>> that looks like I will also need to install msys to get a bash shell. Is
>> that correct or is there a more method that caters more for native Windows
>> users?

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to