News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

how to generate MAP file ?

Started by jeorama, May 05, 2009, 04:04:37 PM

Previous topic - Next topic

jeorama

which as same as "gcc -Wl-Map " to check each function address and size. thanks in advance

enviroment: CB802+arm gcc winxp sp3

Jenna

Adding
-Wl,-Map=<your_map_file>
to your projects build options (tab "Linker settings -> Other linker settings") should do it.