www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/01/08:19:17

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: gprof doesn't work!
Date: 1 Mar 1997 04:49:40 GMT
Organization: The National Capital FreeNet
Lines: 21
Message-ID: <5f8ch4$9te@freenet-news.carleton.ca>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet2.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


I wanted to profile a chunk of code. So, in RHIDE I set the Link for
Profiling option on, and I set the compiler debugging options "-pg" flag
on, and I recompiled the file with the area to profile and linked and ran
it. It created a file named gmon.out. Then I launched a dos shell, and
entered gprof gmon.out, and it said:

c:/djgpp/bin/gprof.exe: gmon.out: not in a.out format


So, obviously wither a bug in djgpp causes it to output the profiling data
in the wrong format, or a bug in RHIDE causes the profiling options not to
work correctly, or else a bug in gprof causes it not to recognise the
format, or not to be able to understand all the right formats.

--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


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