On Wed, 13 Aug 2003, Mark Blackburn wrote: > Whenever I try to compile with gcc -p I get "undefined reference to > `mcount'".
Try "gcc -pg". Igor P.S. BTW, libgmon.a defines "_mcount", as well as "_monstartup", but "gcc -p" seems to want "__monstartup", so "gcc -p ... -lgmon" doesn't work. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/