Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ed927bc8cbc75db4b53b7370a9cd22d60a512c2c
Ticket: 00189c4afcb9e2586301d711f71383e48817a72d
Allow semi-static UCRT build on Windows with VC 14.0
User & Date: anonymous on 2015-08-18 19:02:43
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    With VC 14.0 (in Visual Studio 2015), the majority of the C Runtime (the "Universal CRT") has become a Windows component. In the next few months, it will be installed on all current versions of Windows via an update. This means that we can distribute libraries that depend on the CRT without having to include it, and those libraries will continue to work even as the CRT version changes.
    
    However, there is a small part of the CRT that still depends on the compiler version. This patch adds a new build option "ucrt" that will statically link this part of the runtime and dynamically link the rest, resulting in binaries that only require the universal part of the C runtime.
    
    The build of Tcl included with CPython 3.5 will use this build option, along with the rest of CPython itself. It is how we are achieving independence from the compiler version - by not sharing version specific dependencies we allow extensions to safely compile with different compiler versions, but without sacrificing the benefits of an OS-managed CRT.
    
    The patch applied to 8.6.4 for CPython is at http://bugs.python.org/file40206/tcltk_ucrt_option.patch
    
    This patch includes equivalent (nearly identical) changes for both Tcl and Tk.
    
    We'd like to see the next official release include this option, or at least one that is substantially similar.
    
    Thanks,
    Steve
    
  5. foundin changed to: "8.6.4"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "d27b46750b96d4ee8dc8e16d3f39dc12461d1d5e"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "None"
  15. title changed to:
    Allow semi-static UCRT build on Windows with VC 14.0
    
  16. type changed to: "Patch"