stunnel / static-curl

static builds cURL with HTTP3
MIT License
231 stars 29 forks source link

[Feature Request] Any plan on macOS? #14

Closed nekolsd closed 1 year ago

travislee89 commented 1 year ago

I have checked cURL on macOS, including the system's built-in version and the one installed through Homebrew, and none of them have nghttp3 compiled. I will look at it, but I've never compiled a C program on macOS before.

nekolsd commented 1 year ago

I have checked cURL on macOS, including the system's built-in version and the one installed through Homebrew, and none of them have nghttp3 compiled. I will look at it, but I've never compiled a C program on macOS before.

Thank you! I would also like to ask what is the advantage of using clang as the compiler? I tried to use GCC but it never worked for the nghttp3 version(worked for quiche version though).

travislee89 commented 1 year ago

All are excellent compilers, compiling cURL and related components, are pretty much the same. The script in this repository uses clang for native architectures and gcc for cross-compilation.

travislee89 commented 1 year ago

It's done, it only supports x86_64 for now, I'll see how to cross-compile it to arm64.

travislee89 commented 1 year ago

It supports arm64 now.