[MacPorts] #44628: gprof for Mac via MacPorts

MacPorts noreply at macports.org
Thu Aug 14 19:52:51 PDT 2014


#44628: gprof for Mac via MacPorts
----------------------------+--------------------------------
  Reporter:  ben.haefele@…  |      Owner:  macports-tickets@…
      Type:  request        |     Status:  new
  Priority:  Low            |  Milestone:
 Component:  ports          |    Version:  2.3.1
Resolution:                 |   Keywords:  gprof
      Port:  N.A.           |
----------------------------+--------------------------------

Comment (by ryandesign@…):

 Replying to [comment:2 ben.haefele@…]:
 > Yes, gprof is part of binutils. It is not installed in /usr/bin/gprof/on
 my machine?!?

 It is part of the command line tools package; make sure you've installed
 that.

 > There are some problems, e.g. with g++/gcc-mp-4.8/2.9 the flag -pg does
 not work.....  see: [https://rachelbythebay.com/w/2012/09/14/mac/]
 >
 > If there is a compiler which handles the flag "-pg" and therefore
 produces "gmon.out" I could test gprof. First question would be which
 compiler implementation can handle the relevant flag "-pg"!?! Or am I on
 the wrong track?

 Sorry; I don't know about such things.

-- 
Ticket URL: <https://trac.macports.org/ticket/44628#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list