[Mspgcc-users] Re: Problem with executable

2006-05-19 Thread Grant Edwards
On 2006-05-17, Bodo Rzany wrote: >> I get this message in gdb when I do "load test": >> "test.elf": not in executable format: File format not recognized > > May be you should convert your 'elf' output to (loadable) hex format > with somethin like > $(OBJCOPY) -O ihex a.elf a

[Mspgcc-users] Re: Problem with executable

2006-05-17 Thread Grant Edwards
On 2006-05-15, Martin Collins wrote: > I've compiled my test.c with: > > msp430-gcc test.c -o test.elf -I /cygdrive/c/mspgcc/msp430/include > -mmcu=msp430x449 -g When I use that command line, I get a test.elf file that msp430-gdb loads fine. Just curious: do you really need the -I option? If

[Mspgcc-users] Re: Problem with executable

2006-05-17 Thread Bodo Rzany
Martin Collins wrote: msp430-gcc test.c -o test.elf -I /cygdrive/c/mspgcc/msp430/include -mmcu=msp430x449 -g The version of gcc is 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) I get this message in gdb when I do "load test": "test.elf": not in executable format: File format not recogn