diff --git a/README.win32 b/README.win32 index 1f4d8534cd0d..97849035f685 100644 --- a/README.win32 +++ b/README.win32 @@ -14,7 +14,7 @@ These are instructions for building Perl under Windows 7 and later. =head1 DESCRIPTION -Before you start, you should glance through the README file +Before you start, you should glance through the F file found in the top-level directory to which the Perl distribution was extracted. Make sure you read and understand the terms under which this software is being distributed. @@ -22,13 +22,13 @@ which this software is being distributed. Also make sure you read L below for the known limitations of this port. -The INSTALL file in the perl top-level has much information that is +The F file in the perl top-level has much information that is only relevant to people building Perl on Unix-like systems. In particular, you can safely ignore any information that talks about -"Configure". +F. You may also want to look at one other option for building a perl that -will work on Windows: the README.cygwin file, which give a different +will work on Windows: the F file, which give a different set of rules to build a perl for Windows. This method will probably enable you to build a more Unix-compatible perl, but you will also need to download and use various other build-time and run-time support @@ -43,23 +43,23 @@ following compilers on the Intel x86 and x86_64 architectures: Microsoft Visual C++ Visual C++ 2015 (version 14.0) or later Intel C++ Compiler (experimental) - Gcc by mingw.org gcc version 3.4.5-5.3.0 - Gcc by mingw-w64.org gcc version 4.4.3 or later + GCC by mingw.org GCC version 3.4.5-5.3.0 + GCC by mingw-w64.org GCC version 4.4.3 or later Note that the last two of these are actually competing projects both -delivering complete gcc toolchain for MS Windows: +delivering complete GCC toolchain for MS Windows: =over 4 =item L -Delivers gcc toolchain building 32-bit executables (which can be used both 32 and 64 bit Windows platforms) +Delivers GCC toolchain building 32-bit executables (which can be used both 32 and 64 bit Windows platforms) =item L -Delivers gcc toolchain targeting both 64-bit Windows and 32-bit Windows -platforms (despite the project name "mingw-w64" they are not only 64-bit -oriented). They deliver the native gcc compilers and cross-compilers +Delivers GCC toolchain targeting both 64-bit Windows and 32-bit Windows +platforms (despite the project name I they are not only 64-bit +oriented). They deliver the native GCC compilers and cross-compilers that are also supported by perl's makefile. =back @@ -74,9 +74,9 @@ down compiler (no java, or gfortran) suitable for building perl available at: L NOTE: If you're using a 32-bit compiler to build perl on a 64-bit Windows -operating system, then you should set the WIN64 environment variable to "undef". -Also, the trimmed down compiler only passes tests when USE_ITHREADS *= define -(as opposed to undef) and when the CFG *= Debug line is commented out. +operating system, then you should set the C environment variable to C. +Also, the trimmed down compiler only passes tests when C +(as opposed to C) and when the C line is commented out. This port fully supports MakeMaker (the set of modules that is used to build extensions to perl). Therefore, you should be @@ -90,14 +90,14 @@ See L below for general hints about this. =item Make You need a "make" program to build the sources. If you are using -Visual C++, you can use nmake supplied with Visual C++. -You may also use gmake instead of nmake. Builds using gcc need -gmake. nmake is not supported for gcc builds. Parallel building is only -supported with gmake, not nmake. +Visual C++, you can use C supplied with Visual C++. +You may also use C instead of C. Builds using GCC need +C. C is not supported for GCC builds. Parallel building is only +supported with C, not C. =item Command Shell -Use the default "cmd" shell that comes with Windows. Some versions of the +Use the default C shell that comes with Windows. Some versions of the popular 4DOS/NT shell have incompatibilities that may cause you trouble. If the build fails under that shell, try building again with the cmd shell. @@ -116,7 +116,7 @@ compiler product, these batch files will already be in your C environment variable so you may just type them without an absolute path into your console. If you need to find the absolute path to the batch file, it is usually found somewhere like -C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC. +F. With some newer Microsoft C products (released after ~2004), the installer will put a shortcut in the start menu to launch a new console window with the console already set up for your target architecture (x86-32 or x86-64 or IA64). @@ -151,14 +151,14 @@ This is also referred to as I. =item GCC -Perl can be compiled with gcc from MinGW (version 3.4.5 or later) or from +Perl can be compiled with GCC from MinGW (version 3.4.5 or later) or from MinGW64 (version 4.4.3 or later). It can be downloaded here: L L -You also need gmake. Usually it comes with MinGW but its executable may have -a different name, such as mingw32-make.exe. +You also need C. Usually it comes with MinGW but its executable may have +a different name, such as F. Note that the MinGW build currently fails with version 6.3.0 or later. @@ -192,12 +192,12 @@ Make sure you are in the F subdirectory under the perl toplevel. This directory contains a F that will work with versions of C that come with Visual C++, and a GNU make F that will work for all supported compilers. -The defaults in the C makefile are set up to build with MinGW/gcc. +The defaults in the C makefile are set up to build with MinGW/GCC. =item * -Edit the F (or F, if you're using F) and change -the values of I and C. You can also enable various build +Edit the F (or F, if you're using C) and change +the values of C and C. You can also enable various build flags. These are explained in the makefiles. Note that it is generally not a good idea to try to build a C with @@ -213,7 +213,7 @@ should be the directory that contains the F, F and F directories. If building with the cross-compiler provided by -mingw-w64.org you'll need to uncomment the line that sets +L you'll need to uncomment the line that sets C in the F. Do this only if it's the cross-compiler, ie. only if the F folder doesn't contain a F. (The cross-compiler does not provide a F, F, F, etc. Instead, all of these @@ -253,7 +253,7 @@ is the most commonly launched program during the build and later testing. =head2 Testing Perl on Windows -Type "gmake test" (or "nmake test"). This will run most +Type C (or C). This will run most of the tests from the testsuite (many tests will be skipped). There should be no test failures. @@ -263,8 +263,8 @@ may crash (after all its tests have passed). This is due to a regression in the Universal CRT introduced in the Windows 10 April 2018 Update, and will be fixed in the May 2019 Update, as explained here: L. -If you build with certain versions (e.g. 4.8.1) of gcc from mingw then -F may fail test 17 due to a known bug in those gcc builds: +If you build with certain versions (e.g. 4.8.1) of GCC from MinGW then +F may fail test 17 due to a known bug in those GCC builds: see L. Some test failures may occur if you use a command shell other than the @@ -272,7 +272,7 @@ native "cmd.exe", or if you are building from a path that contains spaces. So don't do that. If you are running the tests from a emacs shell window, you may see -failures in op/stat.t. Run "gmake test-notty" in that case. +failures in F. Run C in that case. Furthermore, you should make sure that during C you do not have any GNU tool packages in your path: some toolkits like Unixutils @@ -291,7 +291,7 @@ Please report any other failures as described under L. =head2 Installation of Perl on Windows -Type "gmake install" ("nmake install"). This will +Type C (C). This will put the newly built perl and the libraries under whatever C points to in the Makefile. It will also install the pod documentation under C<$INST_TOP\$INST_VER\lib\pod> and HTML versions of the same @@ -770,7 +770,7 @@ and borrowed from the Hip Communications port that was available at the time. Various people have made numerous and sundry hacks since then. -GCC/mingw32 support was added in 5.005 (Nick Ing-Simmons). +GCC/MinGW32 support was added in 5.005 (Nick Ing-Simmons). Support for PERL_OBJECT was added in 5.005 (ActiveState Tool Corp).