[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compilation for profiling



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

Bye now!
Cristian



Reply to: