[Python-Dev] building python with profiling support (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Feb 7 19:01:41 EST 2004


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 [...] Can anyone suggest a recipe that will work? Or suggest how to modify the Makefile so that the -pg flag gets passed along.

It looks like building --without-cxx should work.

Martin



More information about the Python-Dev mailing list