Hello, Not sure who wants to look at and confirm this. I was having a lot of trouble building the mspgcc tools for MSP430X.
The issue was with line 73 of the makefile: PREFIX = $(shell pwd -W)/build/installed What is the point of this line? On my system, under cygwin, pwd does not support a -W option. I simply changed this line to read: PREFIX = $(INSTALLDIR) Following this everything was pretty straightforward and I used the commands below to build MSP430X support. export CVSROOT=:pserver:[email protected]:/cvsroot/mspgcc export CVS_RSH=ssh cvs login cvs co -r MSP430X gcc cvs co -r MSP430X packaging cvs co -r MSP430X msp430-libc cd packaging/ make folders make binutils make gcc make msp430-libc-build make msp430-libc-install After that I tried to build some source code which currently builds with the latest release of MSPGCC. I get the following errors at link time (I have removed file names for clarity): : undefined reference to `__MPY' : undefined reference to `__MPYS' : undefined reference to `__MAC' : undefined reference to `__OP2' : undefined reference to `__RESLO' : undefined reference to `__RESHI' It is probable that MACS and SUMEXT are also undefined. I have checked and mpy.h is being included by the .c files at compile time. The linker command line is msp430-gcc -MD -nostartfiles -mmcu=msp430x2418 -Wall -O2 -g -fomit-frame-pointer -Wl,-T linkopt.x -o <output> <input objects> Yes I am defining my own custom link script for this link, however I do not see any symbols associated with MPY in the regular link script. So 3 things: 1. Can somebody please explain or fix the 'pwd -W' call in the packaging/makefile? 2. Can anybody help with the multiplier issue? I can define the symbols myself in the link file but I want to know if this is a symptom of something deeper. 3. My username is wayneuroda . Can somebody please give me access to change the wiki? Thanks! - Wayne Uroda Queensland Australia
