A glibc bug?

H.J. Lu hjl@lucon.org
Thu May 20 08:24:00 GMT 1999


> 
> hjl@lucon.org (H.J. Lu) writes:
> 
> > Could you please send me "a.out"?
> > 
> > # gcc -pg x.c
> 
> No,
> 	gcc -profile x.c
> 

That is a glibc bug. -pg used to work for glibc 2.0. Now you have to
use -lc_p instead of -lc to get profile. Not everyone wants to profile
libc. It should be fixed. I will look into it when I find time.

Thanks.

-- 
H.J. Lu (hjl@gnu.org)


More information about the Libc-hacker mailing list