delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/12/00:56:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Tim Prince <tprince AT computer DOT org>
Reply-To: tprince AT computer DOT org
To: cygwin AT cygwin DOT com
Subject: Re: using gprof
Date: Sun, 11 Aug 2002 21:51:56 -0700
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0208051025020 DOT 694-100000 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.44.0208051025020.694-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0
Message-Id: <20020812045153.4F2B72D16A@inet1.ywave.com>

On Monday 05 August 2002 07:27, Igor Pechtchanski wrote:
> On Mon, 5 Aug 2002, Matt Minnis wrote:
> > I am having trouble getting gprof to work.
> >
> > I keep getting:
> > gmon.out: No such file or directory
> >
> > If I make a dummy gmon.out I get:
> > gmon.out: file too short to be a gmon file
> >
> > I have compiled and linked with -pg
> >
> > I have looked at the FAQ for DJPP which had a section on this issue, and
> > that didn't seem to resolve it.
> >
> > Anyone have any ideas where to go next?
> >
> > Thanks,
> >
> > Matt Minnis
>
> Matt,
> Have you tried actually running your app?  gmon.out is the file that
> should be created by a running program compiled with -pg.
> 	Igor
Some of us have been waiting for some kind of description of your problem.  
As Igor pointed out, you haven't ruled out the possibility that you didn't 
even run the program (to a successful conclusion).  For all we know, you 
might be running g77, which requires that you link with a copy of libg2c.a 
which was built with -pg (at least for main.o).
-- 
Tim Prince

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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