> 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
>

Thanks Bill - that was embarassingly obvious!
The cross reference isn't working, though. Here's the output:
msp430-gcc.exe -D__DEBUG__ -D__MSP430_123__ obj\AmRam.o obj\AmMain.o -o
Final\AuMod.elf -LE:\mspgcc\lib -Wl,-Map Final\AuMod.map,--cref
msp430-gcc: Final\AuMod.map,--cref: No such file or directory
make: *** [Final\AuMod.elf] Error 1

The other aspect which I find strange is that if I delete the map file, ld
doesn't create it (I get a "No such file or directory" error). If I create
the file manually it overwrites it with no problem. Is that normal?

Cheers,

James


Reply via email to