On Wed, 17 Dec 2003 16:32:58 -0300, James Henry Dodd wrote:

Hi,

I'm trying to generate a map file, with the following command and result:

msp430-gcc.exe -D__DEBUG__ -D__MSP430_123__ obj\AmRam.o obj\AmMain.o -o
"Final\AuMod.elf" -L"E:\mspgcc\lib" -Map Final\AuMod.map

msp430-ld:Final\AuMod.map: file format not recognized; treating as linker
script
msp430-ld:Final\AuMod.map:1: parse error
make: *** [Final\AuMod.elf] Error 1

It does in fact generate a file, but the error seems to indicate the my
syntax (which I got from "msp430-ld --help") is wrong.

I'm running on NT 4.0, with the mspgcc-20030506 Windows version.
----------------------------------------------------------------

Try

msp430-gcc.exe -D__DEBUG__ -D__MSP430_123__ obj\AmRam.o obj\AmMain.o -o
"Final\AuMod.elf" -L"E:\mspgcc\lib" -Wl,-Map Final\AuMod.map

and if you add ,--cref immediately after ".map" (no spaces) you
will get a cross reference.

Reagrds
-Bill Knight
R O SoftWare




Reply via email to