12.2. Building Symbian OS applications

To build a Symbian OS application so that it is ready for profiling:

  1. When compiling with RVCT, make sure the -g and the or --dwarf3 option is enabled in the .mmp file for the application. The --dwarf2 option also works, but the --dwarf1 option does not.


    The -g option turns on debug information so that the ARM Profiler can relate assembly code to source code and the --dwarf2 and --dwarf3 options dictate that the compiler uses dwarf2 or dwarf3 specifically.

  2. Build your application for the target ARM processor.


    Building a Symbian OS application using RVCT creates two executables, both with the .exe file extension. The ELF executable, located in the Symbian install directory\bin\TechView\apoc32\release\platform\build type directory, must be used for profiling, not the e32 executable located in the Symbian install directory\bin\TechView\apoc32\build\src\cedar\generic\base\e32test\group\exec name\platform\build type directory. If you are unsure if the executable file is an ELF file, open it in a text editor and check to see if three of the first four characters are ELF, or use the fromelf.exe utility.

Copyright © 2007- 2009 ARM Limited. All rights reserved.ARM DUI 0414D