gcc 3.3.2 not generating gmon.out?
lrtaylor@micron.com
lrtaylor@micron.com
Mon Dec 8 20:19:00 GMT 2003
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
More information about the Gcc-help
mailing list