cURL fully-static build script for Windows
Go to file
2024-12-14 14:03:32 +01:00
.github/workflows Also create an artifact for the build logs. 2024-09-16 00:28:27 +02:00
build Improved handling of paths. 2024-02-06 23:10:30 +01:00
patch Updated patches for new cURL version. 2024-12-14 14:03:32 +01:00
.gitattributes Added .gitattributes file to force LF line-endings. 2023-12-07 15:43:31 +01:00
.gitignore Improved handling of paths. 2024-02-06 23:10:30 +01:00
build.sh Updated cURL to version 8.11.1 + updated CA certificates to latest version. 2024-12-14 13:06:31 +01:00
curl-screenshot.png Added README file. 2023-12-08 17:14:32 +01:00
LICENSE.txt Added README file. 2023-12-08 17:14:32 +01:00
make.cmd Updated the nghttp2/3 and ngtcp2 libraries. 2024-09-13 22:03:01 +02:00
README.md Added detailed install instructions to the README file. 2024-04-14 18:07:32 +02:00

cURL Windows

Build script to create fully-static binaries of cURL for Windows.

These builds provide full Unicode support as well as support for TLS 1.3, HTTP/2, HTTP/3 (QUIC), SSH-2 and IDN.

Resulting binaries run on Windows XP (SP-3) or later. 64-Bit binaries require Windows XP x64 Edition.

cURL

Prerequisites

This build script is based on MinGW-w64 and MSYS2.

Detailed install instructions:

  1. Install the MSYS2 base-system using the installer (i.e. msys2-x86_64-yyyymmdd.exe) from the website:
    https://repo.msys2.org/distrib/x86_64/

    Important: If MSYS2 was installed to a directory other than C:\msys64, the variable MSYS2_DIR in make.cmd must be edited accordingly!

  2. Once the MSYS2 base-system has been installed, updated all packages to the latest version:

    $ pacman -Syyuu
    

    Note: After the first update, close and re-open the MSYS2 terminal, then run the same command again!

  3. Now install the 32-Bit and 64-Bit MinGW-w64 tool-chains:

    $ pacman -S --noconfirm mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain
    

    (Be sure to not install the "UCRT" variants of these tool-chains, but the "traditional" MSVCRT-based ones!)

  4. Finally install the "base" development tools, CMake and ZIP:

    $ pacman -S --noconfirm --needed base-devel cmake zip
    

Build instructions

In order to build the 32-Bit and 64-Bit cURL packages, just run make.cmd from the cURL Windows base directory!

Optionally, you can build only the 32-Bit or 64-Bit package:

  1. Open either the 32-Bit (mingw32.exe) or the 64-Bit (mingw64.exe) MSYS2 terminal

  2. Change the working directory to the cURL Windows base directory (i.e. where build.sh is located)

  3. Now run the ./build.sh script!

Acknowledgement

cURL has been created by Daniel Stenberg, daniel@haxx.se, and many contributors.

For details, see:
https://curl.se/docs/copyright.html