Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
[Bug 69](#69), 提交14.11.25503处理脚本。
Browse files Browse the repository at this point in the history
  • Loading branch information
mingkuang-Chuyu committed Mar 15, 2021
1 parent bb57ede commit 489e2a9
Show file tree
Hide file tree
Showing 6 changed files with 2,015 additions and 0 deletions.
392 changes: 392 additions & 0 deletions src/14.11.25503/lib/arm/msvcrt.cmd

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions src/14.11.25503/lib/arm/vccorlib.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
set BuiltInVsWhereExe="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
if not defined ProgramFiles(x86) ( set "BuiltInVsWhereExe="%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe"" )

if not exist %BuiltInVsWhereExe% (echo 请安装VS2017或者更高版本然后继续!& goto:eof )

for /f "tokens=*" %%i in ('%BuiltInVsWhereExe% -latest -prerelease -property installationPath') do ( set LatestVisualStudioRoot=%%i)

@call "%LatestVisualStudioRoot%\VC\Auxiliary\Build\vcvarsamd64_arm.bat"

set libfile=%~dp0..\..\..\..\VC\14.11.25503\lib\%Platform%\vccorlib.lib

del "%libfile%" /q
lib /MACHINE:%Platform% /DEF:"%~dp0..\..\..\..\src\%Platform%\wincorlib.def" /out:"%libfile%"
lib /MACHINE:%Platform% "%libfile%" "%~dp0vccorlib.lib"

lib "%libfile%" /remove:vccorlib140.dll
lib /MACHINE:%Platform% "%libfile%" "%~dp0..\..\..\..\Redist\%Platform%\vccorlib140_ltl.lib"

pause
Loading

0 comments on commit 489e2a9

Please sign in to comment.