Hi, I'm new with msp430-gcc. Starting with code that works fine with gcc (under cygwin) I have the following problem with msp430:
msp430-gcc -o sample StateHan.o main.o scexample.o msp430-ld: region text is full (sample section .text) msp430-ld: section .vectors [0000ffe0 -> 0000ffff] overlaps section .text [0000f c00 -> 000103c9] /cygdrive/c/mspgcc/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/libc.a(malloc .o)(.text+0x1e): In function `malloc': /cygdrive/c/mspgcc-source/msp430/msp430-libc/src/stdlib/malloc.c:21: internal er ror: unsupported relocation error make: *** [main] Error 1 For me it looks like that my application is too big for .text but in fact it is not very big and should fit into Flash. In the Makefile the following line selects the cpu type: CFLAGS = -g -I. -O2 -mmcu=msp430x149 Any ideas? Thanks a lot, Peter -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!