delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/30/05:26:06

Date: Thu, 30 May 1996 12:21:48 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "David J. Calvin" <calvid AT matisse DOT its DOT rpi DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: Still can't get GPROF to work!
In-Reply-To: <4ofa6u$ifo@usenet.rpi.edu>
Message-Id: <Pine.SUN.3.91.960530121549.15014C-100000@is>
Mime-Version: 1.0

On 28 May 1996, David J. Calvin wrote:

> gprof game, says gmon.out file not found.
> 
> What is this gmon.out and how do I make it?  Thanks in advance.

This file is generated by the program compiled with -pg when it runs.  
Please check if this happens for any program (e.g. "Hello world") or just 
for the specific program you are talking about.  If every program 
compiled with -pg shows this behavior, please add -v to your 
compilation/link command line and post everything that gets printed then.

> compile with -pg (can't link with this like the faq says, is that the
>         problem?)

It might be the problem if you link in a way that prevents gcrt0.o to be
linked instead of crt0.o.  Why can't you link with -pg?  What is the
command line you use to link, and how does it fail? 

- Raw text -


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