delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/13/16:14:52

Sender: nate AT cartsys DOT com
Message-ID: <36C5EAFD.1B7B1C80@cartsys.com>
Date: Sat, 13 Feb 1999 13:13:33 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Gprof Complains that foo.exe has no symbols
References: <786CCD895275D211BF540090271E0AD10ADB03 AT BALWYN_SERVER>
Reply-To: djgpp AT delorie DOT com

Phil Rumble wrote:
> 
> I compile the executable with the -pg option, but when I run gprof it spits
> out the message
> 
> "foo.exe has no symbols"
> 
> Can anyone tell me how to get profiling to work

Did you run `strip' or `djp' or some such on your executable, or use
`-s' when linking?  If so, don't do that; they remove the symbol info
needed to produce a profile.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019