I just tried to do a straight compile and it also appears to fail.
The command I used was
msp430-gcc -c Handheld.c
which by all accounts should have failed for many many reasons... not
defining the processor type, missing F_CPU definition, amongst others.
Any more ideas on directions to look?
Bevan
Hi,
Yeah quite sure it doesn't. Just checked in the makefile, no
inappropriate spacing.
Not sure how it got in the copy-paste action.
I'm also quite sure there are no overlapping globals. I don't have
globals themselves.. anything that requires access to the whole c file
is marked as static. Making it a non-global right?
I'm just about to try the straight compile idea. That's just using the
-c flag right?
Bevan
HI,
Are you sure that '-mendu p-at=main' has no space between -mendu and
p-at=... ?
Anyway it seems to be strance that make returns an error with no gcc output.
~d
Compiling:
msp430-gcc -mmcu=msp430x1471 -g -O0 -Wall -Wcast-align -Wcast-qual
-Wimplicit -W missing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wred undant-decls -Wreturn-type -Wshadow
-Wstrict-prototypes -Wswitch -Wunused -mendu p-at=main -DF_CPU=4000000
-Wl,-Map=Handheld.map,--cref -o Handheld.elf Handheld.
c flash.c spi.c uart.c audio.c -lm
make: *** [Handheld.elf] Error 1