A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-February/042432.html below:

[Python-Dev] building python with profiling support

[Python-Dev] building python with profiling support [Python-Dev] building python with profiling supportHye-Shik Chang perky at i18n.org
Sat Feb 7 14:54:10 EST 2004
On Sat, Feb 07, 2004 at 02:25:39PM -0500, Jeremy Hylton wrote:
> I've used gprof to profile the interpreter in the past, but I'm stuck
> trying to it again on my current machine.  I configured Python by saying
>     CC="gcc -pg" ../configure
> 
> That's the way I've built Python for profiling in the past and that's
> what the README says to do.  The python binary that gets generated
> doesn't generate a gmon.out file.
[snip]
> Can anyone suggest a recipe that will work?  Or suggest how to modify
> the Makefile so that the -pg flag gets passed along.
> 

I turn profiling on in this way:

% CC="cc -pg" LDFLAGS="-pg" ./configure


Hye-Shik

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4