Author Topic: probelm with profiling [-pg]  (Read 2957 times)

TNT89

  • Guest
probelm with profiling [-pg]
« on: July 20, 2007, 07:50:39 pm »
  Hello,

 Sorry, i'm a beginner in programming and i can't remove the option [-pg] off my project without obtain the Linker Error : "undefined reference to `mcount'"
  I dont know if it's Code::Block problem but i didn't find this problem anywhere else...

TNT89

  • Guest
Re: probelm with profiling [-pg]
« Reply #1 on: July 21, 2007, 01:27:32 pm »
Thanks but now i don't have this error anymore... it's very strange as you said...
It was probably a bug in GCC that left the "mcount" when i compiled the project...
 :?