This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: gcc 3.3.2 not generating gmon.out?
- From: lrtaylor at micron dot com
- To: <csali at tiscali dot it>, <gcc-help at gcc dot gnu dot org>
- Date: Mon, 8 Dec 2003 13:19:22 -0700
- Subject: 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