-
Notifications
You must be signed in to change notification settings - Fork 243
Description
下载最新的v2025.3.9-SM版本 curl,在Windows平台编译,编译方法如下:
1.执行:git apply tongsuo.patch
提示如下信息:
$ git apply tongsuo.patch
warning: scripts/cd2nroff has type 100644, expected 100755
warning: tests/test1139.pl has type 100644, expected 100755
2.执行:.\buildconf.bat
提示如下信息:
PS D:\Desktop\curl-2025.3.9-SM> .\buildconf.bat
Generating prerequisite files
- D:\Desktop\curl-2025.3.9-SM\Makefile
- D:\Desktop\curl-2025.3.9-SM\src\tool_hugehelp.c
Warning: The curl manual could not be integrated in the source. This means when
you build curl the manual will not be available (curl --manual). Integration of
the manual is not required and a summary of the options will still be available
(curl --help). To integrate the manual build with configure or cmake.
3.在winbuild目录执行:nmake /f Makefile.vc mode=dll VC=17 MACHINE=x64 DEBUG=no WITH_SSL=static SSL_PATH=d:\tongsuo WITH_PREFIX=d:\curl
编译正常,能够得到curl.exe和curl.dll
但是测试时,使用如下命令测试:curl --tlcp -kv https://127.0.0.1
提示信息如下:
PS D:\curl\bin> .\curl.exe --tlcp
curl: option --tlcp: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
使用官方发布的curl-Windows-X64.exe进行测试,正常支持这个参数,请问有官方在Windows平台编译v2025.3.9-SM版本 curl的步骤吗?