This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: gcc 3.3.2 not generating gmon.out?


It's been a little while since I profiled an application, but doesn't that file get produced when you run the profiled program rather than at compile time?

Cheers,
Lyle

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org]On
Behalf Of Carlo Salinari
Sent: Monday, December 08, 2003 1:18 PM
To: gcc-help@gcc.gnu.org
Subject: gcc 3.3.2 not generating gmon.out?


Hello,

I'd expect the following command:

$ g++ -g -pg list.cpp buffer.cpp common.cpp error.cpp -o list

to produce a gmon.out file for gprof, but it doesn't.
g++ version is 3.3.2 (Debian).

Any hint?

cheers,
	Carlo



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]