Date: Thu, 30 May 1996 12:21:48 +0200 (IST) From: Eli Zaretskii To: "David J. Calvin" 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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?