> Sorry, did it again. Note the equals (=) sign after -Map
>
> 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
>
> or
>
> 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",--cref
>
> or
>
> 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,--cref
>
> -Bill
>

Thanks again. In the interests of science and the mspgcc community, I tried
all three of the above plus the fourth unstated
option, -Wl,-Map="Final/AuMod.map",--cref. All of them worked!

Now here's something _really_ quaint:
When I use a Windows "\" in the map file name, the map file is Unix style
(lines end with 0x0A).
When I use a Unix "/", the map file is Windows style (lines end with 0x0D
0x0A)!

Regards,

James


Reply via email to