Message-ID: <37EE3BF7.C327C4E9@sbg.ac.at> Date: Sun, 26 Sep 1999 17:29:59 +0200 From: Michael X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: 2 beginner's questions References: <37EBD165 DOT 5C0E451C AT sbg DOT ac DOT at> <7sjh3h$9p0 AT dfw-ixnews7 DOT ix DOT netcom DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 141.201.223.59 X-Trace: 26 Sep 1999 17:20:44 +0100, 141.201.223.59 Organization: Paris-Lodron-University of Salzburg (http://www.sbg.ac.at/home.htm) Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Marp wrote: > ... > > 1. How can I get GPROF to work? It always says it can't find "a.out" or > > the file I passed as parameter. > > Compile/link your sources with profiling information (in rhide under > options->compilers->debugging check the -pg switch and rebuild your > program). Then run your program (the longer you run it, the more acurate the > results). Then type: > gprof [program] > profile.txt > where [program] is the name of the exe file and then read profile.txt Hello again. I followed your instructions with a simple helloworld program and now it says it can't find gmon.out. Thanx for help, Michael.