代码拉取完成,页面将自动刷新
How to build native win64 sed.exe with Visual Studio 2019 and WDK10
From cygwin or other unix shell:
1) get sed archive: wget https://ftp.gnu.org/gnu/sed/sed-4.8.tar.xz
2) unpack sed archive: tar xf sed-4.8.tar.xz
3) go to sed sources: cd sed-4.8
4) fix sed-4.8-build-VS19-x64.patch - change paths to locations of Visual Studio 2019 and WDK10
sed -i '/Visual Studio/s@.:.*include@D:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.24.28314\\include@' sed-4.8-build-VS19-x64.patch
sed -i '/Windows Kits/s@.:.*ucrt@C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\ucrt@' sed-4.8-build-VS19-x64.patch
5) patch sed: patch -Np1 -i sed-4.8-build-VS19-x64.patch
6) run dos prompt: cmd.exe /c "start cmd.exe"
7) setup compiler: "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
8) do compile: make.bat
9) check build result: sed\sed.exe --version --locale=C
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。