Update the build instructions for flat makefile.

This commit is contained in:
Neil Schemenauer 2001-01-24 17:49:59 +00:00
parent d32c2495bd
commit 3f52da5b02
1 changed files with 13 additions and 17 deletions

30
README
View File

@ -151,21 +151,18 @@ where things are not quite as smooth; see the platform specific notes
below. If you want to build for multiple platforms sharing the same below. If you want to build for multiple platforms sharing the same
source tree, see the section on VPATH below. source tree, see the section on VPATH below.
Start by running the script "./configure", which determines your Start by running the script "./configure", which determines your system
system configuration and creates several Makefiles. (It takes a configuration and creates the Makefile. (It takes a minute or two --
minute or two -- please be patient!) You may want to pass options to please be patient!) You may want to pass options to the configure
the configure script or edit the Modules/Setup file after running script or edit the Modules/Setup file after running configure -- see the
configure -- see the section below on configuration options and section below on configuration options and variables. When it's done,
variables. When it's done, you are ready to run make. you are ready to run make.
To build Python, you normally type "make" in the toplevel directory. To build Python, you normally type "make" in the toplevel directory. If
This will recursively run make in each of the subdirectories: Grammar, you have changed the configuration or have modified Modules/Setup, the
Parser, Objects, Python and Modules, creating a library file in each Makefile may have to be rebuilt. In this case you may have to run make
one (except Grammar). The interpreter executable is built in the top again to correctly build your desired target. The interpreter
level directory. If you want or need to, you can also chdir into each executable is built in the top level directory.
subdirectory in turn and run make there manually (do the Modules
subdirectory last; you must use "make all sharedmods" to build the
dynamically loadable modules, if you have any).
Once you have built a Python interpreter, see the subsections below on Once you have built a Python interpreter, see the subsections below on
testing, configuring additional modules, and installation. If you run testing, configuring additional modules, and installation. If you run
@ -179,8 +176,6 @@ Troubleshooting
See also the platform specific notes in the next section. See also the platform specific notes in the next section.
If recursive makes fail, try invoking make as "make MAKE=make".
If you run into other trouble, see section 3 of the FAQ If you run into other trouble, see section 3 of the FAQ
(http://www.python.org/cgi-bin/faqw.py or (http://www.python.org/cgi-bin/faqw.py or
http://www.python.org/doc/FAQ.html) for hints on what can go wrong, http://www.python.org/doc/FAQ.html) for hints on what can go wrong,
@ -816,7 +811,7 @@ Grammar/ Input for the parser generator
Include/ Public header files Include/ Public header files
LICENSE Licensing information LICENSE Licensing information
Lib/ Python library modules Lib/ Python library modules
Makefile.in Source from which config.status creates the Makefile Makefile.pre.in Source from which config.status creates the Makefile.pre
Misc/ Miscellaneous useful files Misc/ Miscellaneous useful files
Modules/ Implementation of most built-in modules Modules/ Implementation of most built-in modules
Objects/ Implementation of most built-in object types Objects/ Implementation of most built-in object types
@ -836,6 +831,7 @@ The following files will (may) be created in the toplevel directory by
the configuration and build processes: the configuration and build processes:
Makefile Build rules Makefile Build rules
Makefile.pre Build rules before running Modules/makesetup
buildno Keeps track of the build number buildno Keeps track of the build number
config.cache Cache of configuration variables config.cache Cache of configuration variables
config.h Configuration header config.h Configuration header