Mail Archives: djgpp/1993/11/10/12:31:32
> 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?]
- Raw text -