From: j DOT aldrich6 AT genie DOT com Message-Id: <199605300518.AA074273535@relay1.geis.com> Date: Thu, 30 May 96 05:06:00 UTC 0000 To: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Subject: Re: Still can't get GPROF to w Reply to message 5892024 from CALVID AT MATISS on 05/28/96 12:38PM >I've read the faq, but I still can't get gprof to run. I've tried the >following: > >compile with -pg (can't link with this like the faq says, is that the problem?) Yes, it's the problem. You MUST also link with -pg to get profiling info. Why do you think that you can't do it? When I tried it it worked fine. >link >exe2coff game.exe (generates game) >run game, works fine. >gprof game, says gmon.out file not found. > >What is this gmon.out and how do I make it? Thanks in advance. 'gmon.out' is the profiling data your program (when compiled correctly) outputs. It is only output if you linked with -pg, however. You can't create it manually. John