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@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx]On Behalf Of Carlo Salinari Sent: Monday, December 08, 2003 1:18 PM To: gcc-help@xxxxxxxxxxx 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