Re: Compilation for profiling
On Wed, May 24, 2000 at 12:53:24PM +0200, Christian Constantin wrote:
> Hi!
>
> I'm trying to compile some program and do some profiling on it afterwards.
> So I'm trying:
>
> gcc -pg -o combi main.c combinari.c
>
> And I get:
>
> ld: cannot open -lgmon: No such file or directory
>
> Now I wonder who's libgmon and where can I fetch it from ??
> Do I need a special version of libc installed ?
>
> My gcc version:
>
> gcc -v
> Reading specs from /usr/lib/gcc-lib/sparc-linux/2.7.2.3/specs
> gcc version 2.7.2.3
I don't see a libgmon except for libc5. Perhaps you should use egcc
instead, or upgrade to the gcc in potato (2.95.2).
Ben
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: