diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2017-02-19 13:33:37 +0000 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2017-02-19 15:30:26 +0000 |
commit | 1f664ef5314fb6e438137c44c95cf5ecdbdb5e9b (patch) | |
tree | 0c788a9cfa8bc4f6e1561230cfaf8e85a421ab99 /README.win32 | |
parent | b3dc9cf3c7fae44f9823063eb1c1a3d593421b03 (diff) | |
download | perl-1f664ef5314fb6e438137c44c95cf5ecdbdb5e9b.tar.gz |
Add support for VS2015 (VC++ 14.0)
Due to the rewritten CRT in this version of Visual C++ it is no longer
possible (or at least not at all easy) to make use of the ioinfo struct,
which commit b47a847f62 (re-)introduced in order to fix RT#120091/118059.
Therefore, we effectively revert commit b47a847f62 for VS2015 onwards on
the basis that being able to build with VS2015 onwards is more important
than the RT#120091/118059 bug fix. This does unfortunately mean that perls
built with <=VS2013 will not be compatible with perls built with >=VS2015,
but they may well not have been compatible anyway because of the CRT
rewrite, and certainly wouldn't be compatible if perl builds with VS2015
were not supported!
See RT#125714 for more discussion about this.
Diffstat (limited to 'README.win32')
-rw-r--r-- | README.win32 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/README.win32 b/README.win32 index 1b6825081d..0e891fc17b 100644 --- a/README.win32 +++ b/README.win32 @@ -63,10 +63,10 @@ that are also supported by perl's makefile. =back The Microsoft Visual C++ compilers are also now being given away free. They are -available as "Visual C++ Toolkit 2003" or "Visual C++ 2005-2013 Express +available as "Visual C++ Toolkit 2003" or "Visual C++ 2005-2015 Express Edition" (and also as part of the ".NET Framework SDK") and are the same compilers that ship with "Visual C++ .NET 2003 Professional" or "Visual C++ -2005-2013 Professional" respectively. +2005-2015 Professional" respectively. This port can also be built on IA64/AMD64 using: @@ -139,9 +139,9 @@ console already set up for your target architecture (x86-32 or x86-64 or IA64). With the newer compilers, you may also use the older batch files if you choose so. -=item Microsoft Visual C++ 2008-2013 Express Edition +=item Microsoft Visual C++ 2008-2015 Express Edition -These free versions of Visual C++ 2008-2013 Professional contain the same +These free versions of Visual C++ 2008-2015 Professional contain the same compilers and linkers that ship with the full versions, and also contain everything necessary to build Perl, rather than requiring a separate download of the Windows SDK like previous versions did. @@ -151,14 +151,14 @@ L<http://www.microsoft.com/downloads/search.aspx?displaylang=en>. (Providing ex links to these packages has proven a pointless task because the links keep on changing so often.) -Install Visual C++ 2008-2013 Express, then setup your environment using, e.g. +Install Visual C++ 2008-2015 Express, then setup your environment using, e.g. C:\Program Files\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat (assuming the default installation location was chosen). Perl should now build using the win32/Makefile. You will need to edit that -file to set CCTYPE to one of MSVC90FREE-MSVC120FREE first. +file to set CCTYPE to one of MSVC90FREE-MSVC140FREE first. =item Microsoft Visual C++ 2005 Express Edition @@ -421,8 +421,8 @@ There should be no test failures. If you build with Visual C++ 2013 then three tests currently may fail with Daylight Saving Time related problems: F<t/io/fs.t>, F<cpan/HTTP-Tiny/t/110_mirror.t> and F<lib/File/Copy.t>. The failures are -caused by bugs in the CRT in VC++ 2013 which will be fixed in future releases -of VC++, as explained by Microsoft here: +caused by bugs in the CRT in VC++ 2013 which are fixed in VC++2015 and +later, as explained by Microsoft here: L<https://connect.microsoft.com/VisualStudio/feedback/details/811534/utime-sometimes-fails-to-set-the-correct-file-times-in-visual-c-2013>. In the meantime, if you need fixed C<stat> and C<utime> functions then have a look at the CPAN distribution Win32::UTCFileTime. @@ -950,6 +950,6 @@ Win9x support was added in 5.6 (Benjamin Stuhl). Support for 64-bit Windows added in 5.8 (ActiveState Corp). -Last updated: 07 October 2014 +Last updated: 19 February 2017 =cut |