This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gprof and gmon
- To: gcc at gcc dot gnu dot org
- Subject: gprof and gmon
- From: Gabby Yi <gayi at lynx dot dac dot neu dot edu>
- Date: Wed, 23 Feb 2000 21:51:36 -0500 (EST)
To whom it may concern:
I am currently working on a project which requires me to port gprof
and the gmon profiling library to be compatible with the architecture
that I am working with. GCC has already been ported successfully.
From what I've witnessed, all source files and header files are found
in the binary utilities package along with gmon.h while gmon.c is found
with the gcc distribution. The only incompatibility was the differences
in variable names. After correcting this, I was able to build gmon.c.
Now, my questions are...
1. Why were the variable names different?
2. Does the gmon.h found in the binutils distribution correspond to the
gmon.c found in the gcc package?
3. How do I find out what versions of gprof is compatible with which
versions of gcc?
Thanks,
Gabby Yi