From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: I'm still having problems ... Date: Tue, 19 May 1998 18:17:30 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 25 Message-ID: <356204FA.3F0F@cs.com> References: <08d873508151358PROXY AT sion DOT net> NNTP-Posting-Host: ppp107.cs.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Inkel AT sion DOT com wrote: > > After run the program (ie foo.exe), I run > > gprof foo.exe > > And I have this error: > > gmon.out: No such file or directory (ENOENT) > > What mean this? I've read the FAQ, I'm doing everything OK, but I'm > still having problems, why? You probably did not both compile and link the program with the '-pg' flag. You have to do both or profiling won't work. Make sure that once you've run the program, there is a 'gmon.out' file in the current directory. -- --------------------------------------------------------------------- | John M. Aldrich | "A committee is a life form with six | | aka Fighteer I | or more legs and no brain." | | mailto:fighteer AT cs DOT com | | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------