0

I am trying to use vtune with my application compiled with mingw in Windows. When I try to see souce code information, vtune says the is not line information in the resulting executable. I am compiling with -g option so I dont know where is the problem. So the questions are:

  • Is it possible to profile with a program compiled with mingw in windows? It looks like all is ready for MS-VC, but not for mingw.

  • If so, is it needed to change the object format (coff, xcoff, DWARF, ....)? maybe if someone post an example it would be valuable.

Shawn Chin
  • 84,080
  • 19
  • 162
  • 191
Fermin
  • 1

1 Answers1

3

Solved, compiled with

-gstabs -g3

Fermin
  • 31
  • 1
  • You can accept your own answer and get 15 reputation points. (Hover to find the check mark over the number between the up and down arrows at the top left of your answer). Good luck – shellter Jun 13 '11 at 02:08
  • @shellter, while accepting your own answer is a Good Thing when you've solved your own question, you cannot award yourself rep. – Michael Kristofik Jun 13 '11 at 13:30
  • @Kristo : Thanks for the clarification. I thought I had seen it happen on other questions. – shellter Jun 13 '11 at 14:11