I can confirm what Wayne stated. If I add a blank at the middle of the name of my mspgcc directory and update the path accordingly, the linker yields the error that memory.x could not be found.
So please recheck your test. Maybe the path contained the mspgcc directory twice and you changed only one instance. Matthias Am 16.03.2013 15:46, schrieb garyr: > Wayne, > Thanks for your reply. > > My path is C:\Program Files\mspgcc_4.6\bin; > > The path to my old version of mspgcc was C:\mspgcc\bin so I created a folder > C:\mspgcc_4.6 and copied everything there and changed my path to > C:\mspgcc_4.6\bin. Compile is OK but Make still returns the same error so that > must not be the problem. > > Gary > > ----- Original Message ----- > From: "Wayne Uroda" <w.ur...@gmail.com> > To: "garyr" <ga...@fidalgo.net> > Cc: <mspgcc-users@lists.sourceforge.net> > Sent: Friday, March 15, 2013 11:12 PM > Subject: Re: [Mspgcc-users] Linker error > > > This might be off base, but I've had similar issues when there was a space in > my > path to mspgcc in the newer versions. > > - Wayne > > On 16/03/2013, at 5:53, "garyr" <ga...@fidalgo.net> wrote: > >> 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 > > > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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