Help - Search - Members - Calendar
Full Version: Gmon.out!?!
BleepingComputer.com > Software > Programming
   
IKnew
Whenever i run compiled programs in "Dev C++" by bloodshed "gmon.out" file appears on the same directory as the compiled program.

What is this and how do i make it so that it doesnt appear?
groovicus
Part of learning how to program is cultivating the ability to research. You should research the file before you decide you don't want it to appear because it is sort of an important file. ;)
IKnew
Option: -pg
Generate extra code to write profile information suitable for the analysis program gprof. You must use this option when compiling the source files you want data about, and you must also use it when linking.
----------------------------------------------------------------------------
What is gprof?
gprof is the GNU Profiler, a tool used when tracking which functions are eating CPU in your program.

is this right???
groovicus
Right. So if you don't need the debugging information, you can run the compiler without the -pg switch. I don't remember how to do it though.. blink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.