Date: Wed, 10 Nov 93 11:34:43 -0500 From: DJ Delorie To: rob AT dinner DOT asrc DOT albany DOT edu Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu Subject: Re: profiling > Our hero writes: > > use "gcc -pg prog". This will produce the gmon.out file. > I think you forgot to run it, dude...after *execution* you > get the gmon.out; at least on unix-like systems. Yes, you have to run the resulting executable. OK - so I had a temporary memory lapse. What do you want for free? The actual course of events is thus: gcc -pg prog.c -o prog go32 prog gprof prog > prog.dat Hero [Should I put a disclaimer here from now on?]