[Python-checkins] python/dist/src/Modules Setup.dist,1.26,1.27
loewis@sourceforge.net
loewis@sourceforge.net
2002年4月19日 02:47:25 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv21343
Modified Files:
Setup.dist
Log Message:
Document the build process more precisely. Suggested by Hugh Sasse.
Index: Setup.dist
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/Setup.dist,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** Setup.dist 4 Apr 2002 17:52:50 -0000 1.26
--- Setup.dist 19 Apr 2002 09:47:23 -0000 1.27
***************
*** 37,43 ****
# Finally, if a line contains just the word "*shared*" (without the
# quotes but with the stars), then the following modules will not be
# included in the config.c file, nor in the list of objects to be
# added to the library archive, and their linker options won't be
! # added to the linker options, but rules to create their .o files and
# their shared libraries will still be added to the Makefile, and
# their names will be collected in the Make variable SHAREDMODS. This
--- 37,54 ----
# Finally, if a line contains just the word "*shared*" (without the
# quotes but with the stars), then the following modules will not be
+ # built statically. The build process works like this:
+ #
+ # 1. Build all modules that are declared as static in Modules/Setup,
+ # combine them into libpythonxy.a, combine that into python.
+ # 2. Build all modules that are listed as shared in Modules/Setup.
+ # 3. Invoke setup.py. That builds all modules that
+ # a) are not builtin, and
+ # b) are not listed in Modules/Setup, and
+ # c) can be build on the target
+ #
+ # Therefore, modules declared to be shared will not be
# included in the config.c file, nor in the list of objects to be
# added to the library archive, and their linker options won't be
! # added to the linker options. Rules to create their .o files and
# their shared libraries will still be added to the Makefile, and
# their names will be collected in the Make variable SHAREDMODS. This
***************
*** 47,52 ****
# *noconfig* has the same effect as *shared*.)
#
! # In addition, *static* reverses this effect (negating a previous
! # *shared* line).
# NOTE: As a standard policy, as many modules as can be supported by a
--- 58,64 ----
# *noconfig* has the same effect as *shared*.)
#
! # In addition, *static* explicitly declares the following modules to
! # be static. Lines containing "*static*" and "*shared*" may thus
! # alternate thoughout this file.
# NOTE: As a standard policy, as many modules as can be supported by a