profiling support

2007-07-12 Thread Samuel Thibault
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

Re: profiling support (files)

2001-05-14 Thread Marcus Brinkmann
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

Re: profiling support (files)

2001-05-14 Thread Roland McGrath
> 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?

profiling support (files)

2001-05-14 Thread Marcus Brinkmann
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