Debugging

Hi,
I have an application that links to a Static library. What are the compiler
or linker options to use, so that I can trace the execution through source
files in the library?

Thank you,
Shashank

Shashank <sbalijepalli@precitech.com> wrote:

Hi,
I have an application that links to a Static library. What are the compiler
or linker options to use, so that I can trace the execution through source
files in the library?

Compile -g2. Link -g2. I’d suggest doing this for both the application
and all the objects in the library.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.