On Mon, 3 May 2021, Morgan wrote:

Thank you for the feedback.
I tried that after doing a :
git clone https://github.com/curl/curl.git
and it does not work. How do I build the github version?

"the github version" off git is not the release, that's a tagged development version so it requires a few extra steps as mention in the GIT-INFO file in the root directory of the checkout.

It would recommend getting a true release version if you want the slightly easier route.

Now if I download curl-7-76-1.zip in https://curl.se/download.html and
execute the command you gave me, it does work.
However I don't see the 32 bits and 64 bits version?

You build curl so you need to tell your compiler/configure the extra options to cross-build into other versions. "CFLAGS=-m32 ./configure" would be the simplest take I would guess at, but I don't actually know of it works that easily on msys.

It's actually more of a system and compiler question than a curl one.

I believe that if I want to build with --with-openssl, I will have to build
openssl first and set the correct directory like
set OPENSSL_PATH=c:\openssl-1.0.2c

Build openssl and install first, then use curls configure like:

  ./configure --with-ssl=[PATH prefix]

--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to