This is the mail archive of the
mailing list for the GCC project.
RE: newbiew at gcc argument
- From: Marcelo Roitburd <marcelo at jct dot ac dot il>
- To: lrtaylor at micron dot com
- Cc: gcc help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 18 Jun 2004 11:48:34 +0300 (IDT)
- Subject: RE: newbiew at gcc argument
sorry that i write about this again , but i have a question, according to
gprof man page , when i compile the source file , i will receveid two file
one a.out and other gmon.out.
from gprof man page:
The profile data is taken from the call graph profile file (gmon.out
default) which is created by programs that are compiled with the -pg
option of "cc", "pc", and "f77".
but when i run
g++ -pg test.C , only a.out are creat.
How i can creat the gmon.out? i need to write this?
thank you ,
On Wed, 16 Jun 2004 firstname.lastname@example.org wrote:
>Look at the -p and -pg arguments to gcc/g++. However, you'll also need
>to look at prof or gprof, because you'll need one of those programs to
>analyze the profiling data.
Minha vida foi uma sucessao de acasos felizes
criminalista e imortal Evandro Lins e Silva