This is the mail archive of the
mailing list for the GCC project.
Re: changes made to gmon-sol2.c not reflected after recompiling gcc
- From: "Hari K. Pyla" <harip at vt dot edu>
- To: gcc-help at gcc dot gnu dot org
- Cc: Ian Lance Taylor <iant at google dot com>
- Date: Tue, 28 Nov 2006 17:49:17 -0500
- Subject: Re: changes made to gmon-sol2.c not reflected after recompiling gcc
- References: <456C99C9.firstname.lastname@example.org> <email@example.com>
I am sorry for the typo, you are right I was missing the "not". My host
is i386, Thank you for taking time to reply. I guess I need to get to
Thanks and Regards,
Ian Lance Taylor wrote:
"Hari K. Pyla" <firstname.lastname@example.org> writes:
I edited the following functions in gmon-sol2.c in
basically added some fprintf()'s, changed the filename "gmon.out" to
"newgmon.out" in create() and recompiled gcc with the following
The changes do seem to be reflected in the new build of gcc. Is there
anything that I am missing. I appreciate you taking time to answer
OK, I'm guessing that you're missing a "not" in the first sentence of
the last paragraph.
The problem is most likely that gmon-sol2.c is not used. You didn't
mention which type of host you are running on, but gmon-sol2.c is only
used on x86 Solaris systems.
On other x86 systems, including GNU/Linux, the equivalent code is
found in the C library. On a GNU/Linux system, you will find the code
in glibc, in the csu subdirectory.