I've been using the mspgcc toolchain I downloaded in 2006. I'm now trying to 
switch to the latest version, 4.6.3. I can compile but make returns an error:

msp430-gcc -mmcu=msp430f1132 -o usb.elf main.o ../auart/auartc.o
../auart/auart.o ../uart/delay.o ../uart/dco.o ../utils/b2d.o
../utils/bin2hexS.o
c:/program
files/mspgcc_4.6/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe:
cannot open linker script file memory.x: No such file or directory
collect2: ld returned 1 exit status
mingw32-make: *** [usb.elf] Error 1

It appears that I'm missing a file for the linker but I don't know what that 
might be. The relevant (I think) portion of my makefile is:

CPU          = msp430f1132
CFLAGS       = -mmcu=${CPU} -Wall -O2 -g
ASFLAGS      = -mmcu=${CPU} -x assembler-with-cpp -D_GNU_ASSEMBLER_ -c
CC           = msp430-gcc
AS           = msp430-gcc

${NAME}.elf: ${OBJECTS}
   ${CC} -mmcu=${CPU} -o $@ ${OBJECTS}

Any suggestions?



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to