This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Timing information for CFG manipulations


On Mon, Oct 15, 2001 at 01:58:18PM -0500, Brad Lucier wrote:
> > 
> > - Can you repeat this test with cc1 linked against a profile-
> > instrumented libc,
> 
> Unfortunately, on this box libc_p.a seems to be significantly older than
> libc.a and there are link errors.

Weird.  What system is this?

> > and libiberty re-built with CFLAGS="-O2 -g -pg"?
> 
> I tried this, too, and it links, but I can't get a gmon.out file from
> running the resulting cc1.  Perhaps I just don't know how to do such
> things properly.

Hmm, the only thing I can think of is if you forgot to spec CFLAGS
including -pg when re-linking cc1; leave that out and gcrt1.o isn't
loaded, and the profiler never gets started.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]