summaryrefslogtreecommitdiff
path: root/README.win32
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2018-09-12 15:49:25 +1000
committerTony Cook <tony@develop-help.com>2018-10-05 14:45:58 +1000
commit15f42aa08dac5b9663cdd36757efe1b86bfd2ef2 (patch)
treead0c8009038c9751c176f836182dacda07e91f7d /README.win32
parent8f5d02f0ba4fc4b2aaac2a4098691883b5e450ee (diff)
downloadperl-15f42aa08dac5b9663cdd36757efe1b86bfd2ef2.tar.gz
mention gmake builds in a few more places.
Diffstat (limited to 'README.win32')
-rw-r--r--README.win3234
1 files changed, 19 insertions, 15 deletions
diff --git a/README.win32 b/README.win32
index 97907a56d9..0d34d9f618 100644
--- a/README.win32
+++ b/README.win32
@@ -321,7 +321,7 @@ MinGW64 (version 4.4.3 or later). It can be downloaded here:
L<http://www.mingw.org/>
L<http://www.mingw-w64.org/>
-You also need dmake. See L</"Make"> above on how to get it.
+You also need dmake or gmake. See L</"Make"> above on how to get it.
Note that the MinGW build currently requires a MinGW runtime version earlier
than 3.21 (check __MINGW32_MAJOR_VERSION and __MINGW32_MINOR_VERSION).
@@ -355,14 +355,15 @@ unlike GCC.
Make sure you are in the "win32" subdirectory under the perl toplevel.
This directory contains a "Makefile" that will work with
versions of nmake that come with Visual C++ or the Windows SDK, and
-a dmake "makefile.mk" that will work for all supported compilers. The
-defaults in the dmake makefile are setup to build using MinGW/gcc.
+a GNU make "GNUmakefile" or dmake "makefile.mk" that will work for all
+supported compilers. The defaults in the gmake and dmake makefile are
+setup to build using MinGW/gcc.
=item *
-Edit the makefile.mk (or Makefile, if you're using nmake) and change
-the values of INST_DRV and INST_TOP. You can also enable various
-build flags. These are explained in the makefiles.
+Edit the GNUmakefile, makefile.mk (or Makefile, if you're using nmake)
+and change the values of INST_DRV and INST_TOP. 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 perl with
INST_DRV and INST_TOP set to a path that already exists from a previous
@@ -401,7 +402,7 @@ Be sure to read the instructions near the top of the makefiles carefully.
=item *
-Type "dmake" (or "nmake" if you are using that make).
+Type "dmake" ("gmake" for GNU make, or "nmake" if you are using that make).
This should build everything. Specifically, it will create perl.exe,
perl529.dll at the perl toplevel, and various other extension dll's
@@ -413,6 +414,9 @@ of parallel jobs you want to run. A number of things in the build process will
run in parallel, but there are serialization points where you will see just 1
CPU maxed out. This is normal.
+Similarly you can build in parallel with GNU make, type "gmake -j2" to
+build with two parallel jobs, or higher for more.
+
If you are advanced enough with building C code, here is a suggestion to speed
up building perl, and the later C<make test>. Try to keep your PATH enviromental
variable with the least number of folders possible (remember to keep your C
@@ -424,8 +428,8 @@ is the most commonly launched program during the build and later testing.
=head2 Testing Perl on Windows
-Type "dmake test" (or "nmake test"). This will run most of the tests from
-the testsuite (many tests will be skipped).
+Type "dmake test" (or "gmake test", "nmake test"). This will run most
+of the tests from the testsuite (many tests will be skipped).
There should be no test failures.
@@ -459,11 +463,11 @@ Please report any other failures as described under L</BUGS AND CAVEATS>.
=head2 Installation of Perl on Windows
-Type "dmake install" (or "nmake install"). This will put the newly
-built perl and the libraries under whatever C<INST_TOP> 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 under
-C<$INST_TOP\$INST_VER\lib\pod\html>.
+Type "dmake install" (or "gmake install", "nmake install"). This will
+put the newly built perl and the libraries under whatever C<INST_TOP>
+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
+under C<$INST_TOP\$INST_VER\lib\pod\html>.
To use the Perl you just installed you will need to add a new entry to
your PATH environment variable: C<$INST_TOP\bin>, e.g.
@@ -653,7 +657,7 @@ CPAN.
L<http://www.cpan.org/modules/by-module/Make/>
-You may also use dmake. See L</"Make"> above on how to get it.
+You may also use dmake or gmake. See L</"Make"> above on how to get it.
Note that MakeMaker actually emits makefiles with different syntax
depending on what 'make' it thinks you are using. Therefore, it is