🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #89

profile g++

#89
From: John Edstrom
Date: Fri, 07 Aug 1992 22:01
25 lines
1098 bytes
Is there some trick to using profile/prof/gprof with g++?

It works OK with simple programs but when I start adding in my classes
(which compile and work correctly) everything compiles OK with the -p
flag but when I try to link I get many undefined references like:

LBB37
LBE48
LBB48
LBE38
LBB38
LBE49
LBB49
LBE39


Where do these come from?  How do I get rid of them?

John Edstrom | edstrom @ elmer.hsc.ucalgary.ca
--
 RM 2104, HSc Building,  Div. Neuroscience
 U. Calgary School of Medicine,  3330 Hospital Drive NW
 Calgary, Alberta       T2N 3Y4
 (403) 220 4493  (wk)
Technical Details
Message-ID: <92Aug07.220111.16377@acs.ucalgary.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!van-bc!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!news

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!van-bc!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!news
From: edstrom@Elmer.hsc.ucalgary.ca (John Edstrom)
Subject: profile g++
Message-ID: <92Aug07.220111.16377@acs.ucalgary.ca>
Sender: news@acs.ucalgary.ca (USENET News System)
Date: Fri, 07 Aug 92 22:01:11 GMT
Distribution: gnu
Nntp-Posting-Host: elmer.hsc.ucalgary.ca
Organization: Neuroscience Division, U of Calgary School of Medicine, Calgary, Alberta, Canada
Lines: 25