Code::Blocks Forums

User forums => Help => Topic started by: TNT89 on July 20, 2007, 07:50:39 pm

Title: probelm with profiling [-pg]
Post by: TNT89 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...
Title: Re: probelm with profiling [-pg]
Post by: TNT89 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...
 :?