Is it know that profiling is currently broken? This is because gcrt1.o
uses the dynamic version of start.S instead of the Hurd-borked static
version of start.S. It's probably just a matter of fixing blackmagic in
glibc/csu/Makefile.
Samuel
___
Bug-hu
On Mon, May 14, 2001 at 07:36:23PM -0400, Roland McGrath wrote:
> > The specs file implement the following option combinations:
> > Notes: -shared overrides (and prevents) profiling options.
> >-profile forces to link the profiling C library statically
> >-pg/-p does link to the no
> The specs file implement the following option combinations:
> Notes: -shared overrides (and prevents) profiling options.
>-profile forces to link the profiling C library statically
>-pg/-p does link to the normal C library (dynamically or statically)
Is this the same as Linux?
Hi,
two attachments: 1. gcrt0.o (just copy into /lib).
2. specs (just copy into /lib/gcc-lib/i386-gnu/2.95.4/)
The path to the gcc files depends on the version number.
Usage:
To profile the program only:
$ gcc -o main main.c -pg
$ ./main
$ gprof main gmon.out
To profile th