Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Gmon.out!?!


  • Please log in to reply
3 replies to this topic

#1 IKnew

IKnew

  • Members
  • 46 posts
  • OFFLINE
  •  
  • Local time:03:01 PM

Posted 16 April 2007 - 11:01 PM

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?

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:01 PM

Posted 17 April 2007 - 07:35 AM

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

#3 IKnew

IKnew
  • Topic Starter

  • Members
  • 46 posts
  • OFFLINE
  •  
  • Local time:03:01 PM

Posted 17 April 2007 - 07:09 PM

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

Edited by IKnew, 17 April 2007 - 10:47 PM.


#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:01 PM

Posted 17 April 2007 - 09:12 PM

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.. :thumbsup:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users