Code::Blocks Forums

User forums => Help => Topic started by: jeorama on May 05, 2009, 04:04:37 pm

Title: how to generate MAP file ?
Post by: jeorama 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
Title: Re: how to generate MAP file ?
Post by: Jenna 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.