[Python-checkins] CVS: python/dist/src README,1.126,1.127

Guido van Rossum gvanrossum@users.sourceforge.net
2001年10月04日 10:00:09 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv5408
Modified Files:
	README 
Log Message:
Add note about profiling.
Index: README
===================================================================
RCS file: /cvsroot/python/python/dist/src/README,v
retrieving revision 1.126
retrieving revision 1.127
diff -C2 -d -r1.126 -r1.127
*** README	2001年09月06日 08:16:17	1.126
--- README	2001年10月04日 17:00:07	1.127
***************
*** 560,563 ****
--- 560,578 ----
 
 
+ Profiling
+ ---------
+ 
+ If you want C profiling turned on, the easiest way is to run configure
+ with the CC environment variable to the necessary compiler
+ invocation. For example, on Linux, this works for profiling using
+ gprof(1):
+ 
+ CC="gcc -pg" ./configure
+ 
+ Note that on Linux, gprof apparently does not work for shared
+ libraries. The Makefile/Setup mechanism can be used to compile and
+ link most extension module statically.
+ 
+ 
 Testing
 -------

AltStyle によって変換されたページ (->オリジナル) /