used to build standard x86-compatible 32-bit binaries, output into the\r
win32 sub-directory. The x64 platform is used for building 64-bit AMD64\r
(aka x86_64 or EM64T) binaries, output into the amd64 sub-directory.\r
-The Itanium (IA-64) platform is no longer supported. See the "Building\r
-for AMD64" section below for more information about 64-bit builds.\r
+The Itanium (IA-64) platform is no longer supported.\r
\r
Four configuration options are supported by the solution:\r
Debug\r
\r
By default, build.bat will build Python in Release configuration for\r
the 32-bit Win32 platform. It accepts several arguments to change\r
-this behavior:\r
-\r
- -c <configuration> Set the configuration (see above)\r
- -d Shortcut for "-c Debug"\r
- -p <platform> Set the platform to build for ("Win32" or "x64")\r
- -r Rebuild instead of just building\r
- -t <target> Set the target (Build, Rebuild, Clean or CleanAll)\r
- -e Use get_externals.bat to fetch external sources\r
- -M Don't build in parallel\r
- -v Increased output messages\r
-\r
-Up to 9 MSBuild switches can also be passed, though they must be passed\r
-after specifying any of the above switches. For example, use:\r
-\r
- build.bat -e -d /fl\r
-\r
-to do a debug build with externals fetched as needed and write detailed\r
-build logs to a file. If the MSBuild switch requires an equal sign\r
-("="), the entire switch must be quoted:\r
-\r
- build.bat -e -d "/p:ExternalsDir=P:\cpython-externals"\r
-\r
-There may also be other situations where quotes are necessary.\r
+this behavior, try `build.bat -h` to learn more.\r
\r
\r
C Runtime\r
.dll and .lib\r
python\r
.exe\r
-make_buildinfo, make_versioninfo\r
- helpers to provide necessary information to the build process\r
\r
These sub-projects provide extra executables that are useful for running\r
CPython in different ways:\r
_freeze_importlib\r
_freeze_importlib.exe, used to regenerate Python\importlib.h after\r
changes have been made to Lib\importlib\_bootstrap.py\r
-bdist_wininst\r
- ..\Lib\distutils\command\wininst-14.0[-amd64].exe, the base\r
- executable used by the distutils bdist_wininst command\r
python3dll\r
python3.dll, the PEP 384 Stable ABI dll\r
xxlimited\r
find them. This is an advanced topic and not necessarily fully\r
supported.\r
\r
-\r
-Building for AMD64\r
-------------------\r
-\r
-The build process for AMD64 / x64 is very similar to standard builds,\r
-you just have to set x64 as platform. In addition, the HOST_PYTHON\r
-environment variable must point to a Python interpreter (at least 2.4),\r
-to support cross-compilation from Win32.\r
+The get_externals.bat script is called automatically by build.bat when\r
+you pass the '-e' option to it.\r
\r
\r
Profile Guided Optimization\r
PGI python, and finally creates the optimized files.\r
\r
See\r
- http://msdn.microsoft.com/en-us/library/e7k32f4k(VS.100).aspx\r
+ http://msdn.microsoft.com/en-us/library/e7k32f4k(VS.140).aspx\r
for more on this topic.\r
\r
\r