Author Topic: VC-LTL - Shared to msvcrt.dll and optimize the application file size  (Read 361 times)

LiaoMi

  • Member
  • ****
  • Posts: 922
Hi,

VC-LTL - An elegant way to compile lighter binaries.

About VC-LTL
VC-LTL is an open source CRT library based on the MS VCRT that reduce program binary size and say goodbye to Microsoft runtime DLLs, such as msvcr120.dll, api-ms-win-crt-time-l1-1-0.dll and other dependencies.

VC-LTL Compatibility
Module   XP Mode   Vista Mode   UCRT Mode   Files
CRT           94.716%   96.347%   100%   vcruntime.lib, libvcruntime.lib, msvcrt.lib, msvcmrt.lib, msvcrt_Platform.lib, libucrt.lib, ucrt.lib, libucrt_shared.lib, vc.lib
STL           100%   100%   100%   libcpmt.lib, msvcprt.lib
ConcRT   100%   100%   100%   libconcrt.lib, concrt.lib
WinRT   X           100%   X           vccorlib.lib (Windows 8.1 or later)
ATL           100%   100%   100%   -
MFC           X           X           100%   -
AMP           -           -            -           -
OpenMP   100%   100%   100%   Requires vcomp140.dll from the Visual C++ Runtime

2.1. Supported Visual Studio Versions
Visual Studio 2015 (Support Clang with Microsoft CodeGen, Clang 3.7 with Microsoft CodeGen, Clang-LLVM)
Visual Studio 2017 (Support Clang with Microsoft CodeGen, Clang-LLVM)
Visual Studio 2019 (Support Clang-LLVM)

https://github.com/Chuyu-Team/VC-LTL
Source - https://github.com/Chuyu-Team/VC-LTL/archive/refs/heads/master.zip
Binary Libs
VC-LTL-4.1.1-Binary-VS2015.7z https://github.com/Chuyu-Team/VC-LTL/releases/download/v4.1.1/VC-LTL-4.1.1-Binary-VS2015.7z
31 MB
VC-LTL-4.1.1-Binary-VS2017.7z https://github.com/Chuyu-Team/VC-LTL/releases/download/v4.1.1/VC-LTL-4.1.1-Binary-VS2017.7z
97.4 MB
VC-LTL-4.1.1-Binary-VS2019.7z https://github.com/Chuyu-Team/VC-LTL/releases/download/v4.1.1/VC-LTL-4.1.1-Binary-VS2019.7z
221 MB

P.S. The pilot project worked very well for me (VC-LTL-4.1.1-Binary-VS2019 - libucrt.lib)