Dear All,

This morning, I downloaded the gcc compiler of the sourceforge web site. I then 
installed it on my pc. Once I did this, I realised that it didn't have a GUI, 
so I also downloaded SciTE.

I want to be able to use the MSP430 USB Debug-Interface to download my code. 

I wrote C code for my MSP application with an IAR compiler and am trying to 
recompile the code with GCC. My code is made up for 4 C files. I changed the 
declaration of all my interrupt function prototypes so that it matchs what it 
says in the GCC manual. I also included the signal.h header file.

In SciTE I type the following command to compile my code:

>msp430-gcc -mmcu=msp430x427 -g -Os -o Transmitter_31_12.c flash_31_12.c 
>sd16_31_12.c port1_interrupt_31_12.c
port1_interrupt_31_12.c:17: warning: built-in function `index' declared as 
non-function
port1_interrupt_31_12.c: In function `intPort1':
port1_interrupt_31_12.c:1381: warning: comparison is always false due to 
limited range of data type
msp430-gcc: installation problem, cannot exec `msp430-ld': No such file or 
directory
>Exit code: 1    Time: 0.662

As you can see, there is some error to do with `msp430-ld'. How do I solve this?

Otherwise in the GCC litterature, the word makefile is used a lot. How do I go 
about creating one and what should I put in it?

Could somebody possibly talk me through, how to create a GCC project, compile 
the code, download the file to the MSP and then debug the code using 
breakpoints etc?

Thanks in advance for your help,

Regards,

Alan


                
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html

Reply via email to