This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: A glibc bug?


> 
> 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)

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