[comp.unix.aux] profiling with cc/gcc ...

brownrigg@kuhub.cc.ukans.edu (01/04/91)

(pardon me if I'm wasting bandwidth on old hat topics - I vaguely recall
seeing something along these lines months back)

Is there something I should know about the native C compiler's profiling?
It seems if I use "-p" to compile a medium sized program that uses lots of
memory I get flakey behavior, usually resulting in an abort of the program.
One time, the whole system came down hard with a double panic, spewing its
dying messages all over the desktop.

On a related note, I've tried using the "-p" switch with "gcc", but at link
time, it complains about a missing library (lib_p.a" I think).  I have no
idea where to proceed from here on this one....help anybody?!

Rick Brownrigg
Kansas Geological Survey

tdtyl@hubcap.clemson.edu (theodore d taylor) (01/05/91)

From article <27690.2783a329@kuhub.cc.ukans.edu>, 
by brownrigg@kuhub.cc.ukans.edu:
> ......
> It seems if I use "-p" to compile a medium sized program that uses lots of
> memory I get flakey behavior, usually resulting in an abort of the program.
> One time, the whole system came down hard with a double panic, spewing its
> dying messages all over the desktop.
> On a related note, I've tried using the "-p" switch with "gcc", but at link
> time, it complains about a missing library (lib_p.a" I think).  I have no
> idea where to proceed from here on this one....help anybody?!
> Rick Brownrigg
> Kansas Geological Survey

	I'm having similar problems when using f77.  When I tried to 
original background has been expanded by about 50 times.  

	I'm also having trouble now with TextEditor.  It gets flakey 
when I try to scroll.  The Mac OS side seems okay.
Ted Taylor
Clemson University