You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: If you're using a 32-bit compiler to build perl on a 64-bit Windows
77
-
operating system, then you should set the WIN64 environment variable to "undef".
78
-
Also, the trimmed down compiler only passes tests when USE_ITHREADS *= define
79
-
(as opposed to undef) and when the CFG *= Debug line is commented out.
77
+
operating system, then you should set the C<WIN64> environment variable to C<undef>.
78
+
Also, the trimmed down compiler only passes tests when C<USE_ITHREADS *= define>
79
+
(as opposed to C<undef>) and when the C<CFG *= Debug> line is commented out.
80
80
81
81
This port fully supports MakeMaker (the set of modules that
82
82
is used to build extensions to perl). Therefore, you should be
@@ -91,8 +91,8 @@ See L</Usage Hints for Perl on Windows> below for general hints about this.
91
91
92
92
You need a "make" program to build the sources. If you are using
93
93
Visual C++, you can use nmake supplied with Visual C++.
94
-
You may also use gmake instead of nmake. Builds using gcc need
95
-
gmake. nmake is not supported for gcc builds. Parallel building is only
94
+
You may also use gmake instead of nmake. Builds using GCC need
95
+
gmake. nmake is not supported for GCC builds. Parallel building is only
96
96
supported with gmake, not nmake.
97
97
98
98
=item Command Shell
@@ -116,7 +116,7 @@ compiler product, these batch files will already be in your C<PATH>
116
116
environment variable so you may just type them without an absolute path into
117
117
your console. If you need to find the absolute path to the batch file, it is
118
118
usually found somewhere like
119
-
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.
119
+
F<C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>.
120
120
With some newer Microsoft C products (released after ~2004), the installer will
121
121
put a shortcut in the start menu to launch a new console window with the
122
122
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<Build Tools for Visual Studio>.
151
151
152
152
=item GCC
153
153
154
-
Perl can be compiled with gcc from MinGW (version 3.4.5 or later) or from
154
+
Perl can be compiled with GCC from MinGW (version 3.4.5 or later) or from
155
155
MinGW64 (version 4.4.3 or later). It can be downloaded here:
156
156
157
157
L<https://osdn.net/projects/mingw/>
158
158
L<https://www.mingw-w64.org/>
159
159
160
-
You also need gmake. Usually it comes with MinGW but its executable may have
161
-
a different name, such as mingw32-make.exe.
160
+
You also need C<gmake>. Usually it comes with MinGW but its executable may have
161
+
a different name, such as F<mingw32-make.exe>.
162
162
163
163
Note that the MinGW build currently fails with version 6.3.0 or later.
164
164
@@ -192,12 +192,12 @@ Make sure you are in the F<win32> subdirectory under the perl toplevel.
192
192
This directory contains a F<Makefile> that will work with
193
193
versions of C<nmake> that come with Visual C++, and
194
194
a GNU make F<GNUmakefile> that will work for all supported compilers.
195
-
The defaults in the C<gmake> makefile are set up to build with MinGW/gcc.
195
+
The defaults in the C<gmake> makefile are set up to build with MinGW/GCC.
196
196
197
197
=item *
198
198
199
-
Edit the F<GNUmakefile> (or F<Makefile>, if you're using F<nmake>) and change
200
-
the values of I<INST_DRV> and C<INST_TOP>. You can also enable various build
199
+
Edit the F<GNUmakefile> (or F<Makefile>, if you're using C<nmake>) and change
200
+
the values of C<INST_DRV> and C<INST_TOP>. You can also enable various build
201
201
flags. These are explained in the makefiles.
202
202
203
203
Note that it is generally not a good idea to try to build a C<perl> with
@@ -213,7 +213,7 @@ should be the directory that contains the F<bin>, F<include> and
213
213
F<lib> directories.
214
214
215
215
If building with the cross-compiler provided by
216
-
mingw-w64.org you'll need to uncomment the line that sets
216
+
L<https://mingw-w64.org> you'll need to uncomment the line that sets
217
217
C<GCCCROSS> in the F<GNUmakefile>. Do this only if it's the cross-compiler,
218
218
ie. only if the F<bin> folder doesn't contain a F<gcc.exe>. (The cross-compiler
219
219
does not provide a F<gcc.exe>, F<g++.exe>, F<ar.exe>, etc. Instead, all of these
@@ -253,7 +253,7 @@ is the most commonly launched program during the build and later testing.
253
253
254
254
=head2 Testing Perl on Windows
255
255
256
-
Type "gmake test" (or "nmake test"). This will run most
256
+
Type C<gmake test> (or C<nmake test>). This will run most
257
257
of the tests from the testsuite (many tests will be skipped).
258
258
259
259
There should be no test failures.
@@ -263,16 +263,16 @@ may crash (after all its tests have passed). This is due to a regression in the
263
263
Universal CRT introduced in the Windows 10 April 2018 Update, and will be fixed
264
264
in the May 2019 Update, as explained here: L<https://developercommunity.visualstudio.com/content/problem/519486/setlocalelc-numeric-iso-latin-16-fails-then-succee.html>.
265
265
266
-
If you build with certain versions (e.g. 4.8.1) of gcc from mingw then
267
-
F<ext/POSIX/t/time.t> may fail test 17 due to a known bug in those gcc builds:
266
+
If you build with certain versions (e.g. 4.8.1) of GCC from MinGW then
267
+
F<ext/POSIX/t/time.t> may fail test 17 due to a known bug in those GCC builds:
268
268
see L<https://sourceforge.net/p/mingw/bugs/2152/>.
269
269
270
270
Some test failures may occur if you use a command shell other than the
271
271
native "cmd.exe", or if you are building from a path that contains
272
272
spaces. So don't do that.
273
273
274
274
If you are running the tests from a emacs shell window, you may see
275
-
failures in op/stat.t. Run "gmake test-notty" in that case.
275
+
failures in F<op/stat.t>. Run C<gmake test-notty> in that case.
276
276
277
277
Furthermore, you should make sure that during C<make test> you do not
278
278
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</BUGS AND CAVEATS>.
291
291
292
292
=head2 Installation of Perl on Windows
293
293
294
-
Type "gmake install" ("nmake install"). This will
294
+
Type C<gmake install> (C<nmake install>). This will
295
295
put the newly built perl and the libraries under whatever C<INST_TOP>
296
296
points to in the Makefile. It will also install the pod documentation
297
297
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
770
770
at the time. Various people have made numerous and sundry hacks
771
771
since then.
772
772
773
-
GCC/mingw32 support was added in 5.005 (Nick Ing-Simmons).
773
+
GCC/MinGW32 support was added in 5.005 (Nick Ing-Simmons).
774
774
775
775
Support for PERL_OBJECT was added in 5.005 (ActiveState Tool Corp).
0 commit comments