Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » undefined reference to `mcount'
undefined reference to `mcount' [message #98553] Sat, 03 April 2004 00:28
Eclipse UserFriend
Originally posted by: mpjohn.us.ibm.com

I am trying to compile a C-program to with -p option in order to do
profiling. I go to the C/C++ Build properties page of my C project and then
to Compiler | Debugging options. I check the box for "Generate prof
information (-p)" and hit the apply button and when make runs, I get all
kinds of "undefined reference to 'mcount' errors. Am I missing something or
is CDT supposed to handle this automagically?

Thanks.

-Maynard
Previous Topic:CDT crosscompiler plugin problem
Next Topic:?DT 1.2 and con
Goto Forum:
  


Current Time: Wed Sep 18 17:59:06 GMT 2024

Powered by FUDForum. Page generated in 0.02777 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top