Author Topic: how to generate MAP file ?  (Read 4936 times)

Offline jeorama

  • Multiple posting newcomer
  • *
  • Posts: 12
how to generate MAP file ?
« on: May 05, 2009, 04:04:37 pm »
which as same as "gcc -Wl-Map " to check each function address and size. thanks in advance

enviroment: CB802+arm gcc winxp sp3

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: how to generate MAP file ?
« Reply #1 on: May 05, 2009, 04:36:10 pm »
Adding
Code
-Wl,-Map=<your_map_file>
to your projects build options (tab "Linker settings -> Other linker settings") should do it.