Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 5b1a920

Browse files
steve-m-hayrurban
authored andcommitted
We now support building with Visual Studio 2017 (VC++ 14.1)
(Support was added by commits 58998b2, 82cad14, 74102a8 and 88b1365.) (cherry picked from commit d8efeb4)
1 parent 5376adc commit 5b1a920

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

README.win32

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ that are also supported by perl's makefile.
6363
=back
6464

6565
The Microsoft Visual C++ compilers are also now being given away free. They are
66-
available as "Visual C++ Toolkit 2003" or "Visual C++ 2005-2015 Express
67-
Edition" (and also as part of the ".NET Framework SDK") and are the same
68-
compilers that ship with "Visual C++ .NET 2003 Professional" or "Visual C++
69-
2005-2015 Professional" respectively.
66+
available as "Visual C++ Toolkit 2003" or "Visual C++ 2005-2017 Express [or
67+
Community, from 2017] Edition" (and also as part of the ".NET Framework SDK")
68+
and are the same compilers that ship with "Visual C++ .NET 2003 Professional"
69+
or "Visual C++ 2005-2017 Professional" respectively.
7070

7171
This port can also be built on IA64/AMD64 using:
7272

@@ -142,9 +142,9 @@ console already set up for your target architecture (x86-32 or x86-64 or IA64).
142142
With the newer compilers, you may also use the older batch files if you choose
143143
so.
144144

145-
=item Microsoft Visual C++ 2008-2015 Express Edition
145+
=item Microsoft Visual C++ 2008-2017 Express/Community Edition
146146

147-
These free versions of Visual C++ 2008-2015 Professional contain the same
147+
These free versions of Visual C++ 2008-2017 Professional contain the same
148148
compilers and linkers that ship with the full versions, and also contain
149149
everything necessary to build Perl, rather than requiring a separate download
150150
of the Windows SDK like previous versions did.
@@ -154,14 +154,15 @@ L<http://www.microsoft.com/downloads/search.aspx?displaylang=en>. (Providing ex
154154
links to these packages has proven a pointless task because the links keep on
155155
changing so often.)
156156

157-
Install Visual C++ 2008-2015 Express, then setup your environment using, e.g.
157+
Install Visual C++ 2008-2017 Express/Community, then setup your environment
158+
using, e.g.
158159

159160
C:\Program Files\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat
160161

161162
(assuming the default installation location was chosen).
162163

163164
Perl should now build using the win32/Makefile. You will need to edit that
164-
file to set CCTYPE to one of MSVC90FREE-MSVC140FREE first.
165+
file to set CCTYPE to one of MSVC90FREE-MSVC141FREE first.
165166

166167
=item Microsoft Visual C++ 2005 Express Edition
167168

@@ -970,6 +971,6 @@ Win9x support was added in 5.6 (Benjamin Stuhl).
970971

971972
Support for 64-bit Windows added in 5.8 (ActiveState Corp).
972973

973-
Last updated: 19 February 2017
974+
Last updated: 16 June 2017
974975

975976
=cut

pod/perldelta.pod

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,16 @@ XXX List any platforms that this version of perl no longer compiles on.
316316

317317
=over 4
318318

319-
=item XXX-some-platform
319+
=item Windows
320320

321-
XXX
321+
=over 4
322+
323+
=item *
324+
325+
Support for compiling perl on Windows using Microsoft Visual Studio 2017
326+
(containing Visual C++ 14.1) has been added.
327+
328+
=back
322329

323330
=back
324331

0 commit comments

Comments
 (0)