1 Star 0 Fork 1

kevin/sed-windows

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
sed-4.8-build-VS19-x64.txt 1002 Bytes
一键复制 编辑 原始数据 按行查看 历史
Michael Builov 提交于 2020-02-03 14:17 . adapt patches for sed-4.8
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/huangxin1999/sed-windows.git
git@gitee.com:huangxin1999/sed-windows.git
huangxin1999
sed-windows
sed-windows
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385