This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problem with 'gcc -pg'


Hello,

when I compile with the -pg option (for usage with gprof)
I get an unresolved external: _mcount. I heard this was a well-known
problem,
but I couldn't find anything about it on the net.

Does somebody has a suggestion? Do I have to link something explicitly?

Thanks in advance,

Bjorn Vrijkorte


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]