Lines Matching +full:vc +full:- +full:vars
16 ./bootstrap-vcpkg.sh
27 the `GIT-INFO` file in the root directory for specific instructions on how to
35 ./configure --with-openssl [--with-gnutls --with-wolfssl]
46 ./configure --help
51 ./configure --prefix=/path/to/curl/tree
57 ./configure --prefix=$HOME
66 ./configure --with-openssl
69 you have pkg-config installed, set the pkg-config path first, like this:
71 env PKG_CONFIG_PATH=/opt/OpenSSL/lib/pkgconfig ./configure --with-openssl
73 Without pkg-config installed, use this:
75 ./configure --with-openssl=/opt/OpenSSL
80 ./configure --without-ssl
87 CPPFLAGS="-I/path/to/ssl/include" LDFLAGS="-L/path/to/ssl/lib" ./configure
91 provide this option to gcc to set a hard-coded path to the runtime linker:
93 LDFLAGS=-Wl,-R/usr/local/ssl/lib ./configure --with-openssl
100 ./configure --disable-shared
104 handled automatically by the library loader - on all modern systems.
123 options with the `--enable-debug` option.
126 services, and configure will try to auto-detect a decent default. But if you
133 - AmiSSL: `--with-amissl`
134 - BearSSL: `--with-bearssl`
135 - GnuTLS: `--with-gnutls`.
136 - mbedTLS: `--with-mbedtls`
137 - NSS: `--with-nss`
138 - OpenSSL: `--with-openssl` (also for BoringSSL, libressl and quictls)
139 - rustls: `--with-rustls`
140 - Schannel: `--with-schannel`
141 - Secure Transport: `--with-secure-transport`
142 - wolfSSL: `--with-wolfssl`
150 run-time when curl starts up.
164 - [How To Use the C Run-Time](https://support.microsoft.com/help/94248/how-to-use-the-c-run-time)
165 …- [Run-Time Library Compiler Options](https://docs.microsoft.com/cpp/build/reference/md-mt-ld-use-…
166 …- [Potential Errors Passing CRT Objects Across DLL Boundaries](https://docs.microsoft.com/cpp/c-ru…
171 multi-threaded dynamic C runtime.
183 then run `mingw32-make mingw32` in the root dir. There are other
186 - `mingw32-make mingw32-zlib` to build with Zlib support;
187 - `mingw32-make mingw32-ssl-zlib` to build with SSL and Zlib enabled;
188 - `mingw32-make mingw32-ssh2-ssl-zlib` to build with SSH2, SSL, Zlib;
189 - `mingw32-make mingw32-ssh2-ssl-sspi-zlib` to build with SSH2, SSL, Zlib
198 set ZLIB_PATH=c:\zlib-1.2.12
199 set OPENSSL_PATH=c:\openssl-3.0.5
200 set LIBSSH2_PATH=c:\libssh2-1.10.0
205 *Novell CLDAP* SDK. If you want to use these you need to set these vars:
208 set CPPFLAGS=-Ic:/openldap/include -DCURL_HAS_OPENLDAP_LDAPSDK
209 set LDFLAGS=-Lc:/openldap/lib
210 set LIBS=-lldap -llber
216 set CPPFLAGS=-Ic:/openldapsdk/inc -DCURL_HAS_NOVELL_LDAPSDK
217 set LDFLAGS=-Lc:/openldapsdk/lib/mscvc
218 set LIBS=-lldapsdk -lldapssl -lldapx
221 If you want to enable LDAPS support then append `-ldaps` to the make target.
231 ## MS-DOS
233 Requires DJGPP in the search path and pointing to the Watt-32 stack via
236 Run `make -f Makefile.dist djgpp` in the root curl dir.
242 - DJGPP 2.04 beta has a `sscanf()` bug so the URL parsing is not done
245 - Compile Watt-32 (and OpenSSL) with the same version of DJGPP. Otherwise
246 things go wrong because things like FS-extensions and `errno` values have
251 Run `make -f Makefile.dist amiga` in the root curl dir.
258 environment, therefore, you cannot use the various disable-protocol options of
262 [CURL-DISABLE](CURL-DISABLE.md) for the full list.
266 - Modify `lib/config-win32.h`
267 - Modify `lib/curl_setup.h`
268 - Modify `winbuild/Makefile.vc`
269 - Modify the "Preprocessor Definitions" in the libcurl project
271 Note: The pre-processor settings can be found using the Visual Studio IDE
272 under "Project -> Properties -> Configuration Properties -> C/C++ ->
275 ## Using BSD-style lwIP instead of Winsock TCP/IP stack in Win32 builds
277 In order to compile libcurl and curl using BSD-style lwIP TCP/IP stack it is
282 - Modify `lib/config-win32.h` and `src/config-win32.h`
283 - Modify `winbuild/Makefile.vc`
284 - Modify the "Preprocessor Definitions" in the libcurl project
286 Note: The pre-processor settings can be found using the Visual Studio IDE
287 under "Project -> Properties -> Configuration Properties -> C/C++ ->
290 Once that libcurl has been built with BSD-style lwIP TCP/IP stack support, in
298 This BSD-style lwIP TCP/IP stack support must be considered experimental given
305 you must add `-DCURL_STATICLIB` to your `CFLAGS`. Otherwise the linker will
320 Transport for SSL/TLS, use the configure option `--with-secure-transport`.
322 When Secure Transport is in use, the curl options `--cacert` and `--capath`
326 OS. The `--cert` and `--engine` options, and their libcurl equivalents, are
339 export CFLAGS="-arch $ARCH -isysroot $(xcrun -sdk $SDK --show-sdk-path) -m$SDK-version-min=$DEPLOYM…
340 ./configure --host=$ARCH-apple-darwin --prefix $(pwd)/artifacts --with-secure-transport
341 make -j8
354 export CFLAGS="-arch $ARCH -isysroot $(xcrun -sdk $SDK --show-sdk-path) -m$SDK-version-min=$DEPLOYM…
355 ./configure --host=$ARCH-apple-darwin --prefix $(pwd)/artifacts --with-secure-transport
356 make -j8
367 export CFLAGS="-arch $ARCH -isysroot $(xcrun -sdk $SDK --show-sdk-path) -m$SDK-version-min=$DEPLOYM…
368 ./configure --host=$ARCH-apple-darwin --prefix $(pwd)/artifacts --with-secure-transport
369 make -j8
389 export HOST_TAG=darwin-x86_64 # Same tag for Apple Silicon. Other OS values here: https://developer…
391 export AR=$TOOLCHAIN/bin/llvm-ar
392 export AS=$TOOLCHAIN/bin/llvm-as
393 export CC=$TOOLCHAIN/bin/aarch64-linux-android21-clang
394 export CXX=$TOOLCHAIN/bin/aarch64-linux-android21-clang++
396 export RANLIB=$TOOLCHAIN/bin/llvm-ranlib
397 export STRIP=$TOOLCHAIN/bin/llvm-strip
403 ./configure --host aarch64-linux-android --with-pic --disable-shared
414 LIBS="-lssl -lcrypto -lc++" # For OpenSSL/BoringSSL. In general, you'll need to the SSL/TLS layer's…
415 ./configure --host aarch64-linux-android --with-pic --disable-shared --with-openssl="$TOOLCHAIN/sys…
422 - Natively, running in the **ILE**. The obvious use is being able to call curl
424 - You will need to build this from source. See `packages/OS400/README` for
426 - In the **PASE** environment, which runs AIX programs. curl will be built as
428 - IBM provides builds of curl in their Yum repository for PASE software.
429 - To build from source, follow the Unix instructions.
434 ## Multi-threading notes
447 - Set the environment variable `QIBM_MULTI_THREADED` to `Y` before starting
449 - Alternatively, start the job with the `ALWMLTTHD` parameter set to `*YES`.
455 `cd` to the new directory. (e.g. `cd curl-7.12.3`)
457 Set environment variables to point to the cross-compile toolchain and call
458 configure with any options you need. Be sure and specify the `--host` and
459 `--build` parameters at configuration time. The following script is an example
460 of cross-compiling for the IBM 405GP PowerPC processor using the toolchain on
467 export CPPFLAGS="-I/opt/hardhat/devkit/ppc/405/target/usr/include"
468 export AR=ppc_405-ar
469 export AS=ppc_405-as
470 export LD=ppc_405-ld
471 export RANLIB=ppc_405-ranlib
472 export CC=ppc_405-gcc
473 export NM=ppc_405-nm
475 ./configure --target=powerpc-hardhat-linux
476 --host=powerpc-hardhat-linux
477 --build=i586-pc-linux-gnu
478 --prefix=/opt/hardhat/devkit/ppc/405/target/usr/local
479 --exec-prefix=/usr/local
482 You may also need to provide a parameter like `--with-random=/dev/urandom` to
484 device for a target system. The `--prefix` parameter specifies where curl
490 ./configure --host=ARCH-OS
498 would mean at minimum the -Os option, and potentially the `-march=X`,
499 `-mdynamic-no-pic` and `-flto` options as well, e.g.
501 ./configure CFLAGS='-Os' LDFLAGS='-Wl,-Bsymbolic'...
506 Be sure to specify as many `--disable-` and `--without-` flags on the
507 configure command-line as you can to disable all the libcurl features that you
509 `--disable-PROTOCOL` flags for all the types of URLs your application will not
513 - `--disable-alt-svc` (HTTP Alt-Svc)
514 - `--disable-ares` (the C-ARES DNS library)
515 - `--disable-cookies` (HTTP cookies)
516 - `--disable-crypto-auth` (cryptographic authentication)
517 - `--disable-dateparse` (date parsing for time conditionals)
518 - `--disable-dnsshuffle` (internal server load spreading)
519 - `--disable-doh` (DNS-over-HTTP)
520 - `--disable-get-easy-options` (lookup easy options at runtime)
521 - `--disable-hsts` (HTTP Strict Transport Security)
522 - `--disable-http-auth` (all HTTP authentication)
523 - `--disable-ipv6` (IPv6)
524 - `--disable-libcurl-option` (--libcurl C code generation support)
525 - `--disable-manual` (built-in documentation)
526 - `--disable-netrc` (.netrc file)
527 - `--disable-ntlm-wb` (NTLM WinBind)
528 - `--disable-progress-meter` (graphical progress meter in library)
529 - `--disable-proxy` (HTTP and SOCKS proxies)
530 - `--disable-pthreads` (multi-threading)
531 - `--disable-socketpair` (socketpair for asynchronous name resolving)
532 - `--disable-threaded-resolver` (threaded name resolver)
533 - `--disable-tls-srp` (Secure Remote Password authentication for TLS)
534 - `--disable-unix-sockets` (UNIX sockets)
535 - `--disable-verbose` (eliminates debugging strings and error code strings)
536 - `--disable-versioned-symbols` (versioned symbols)
537 - `--enable-symbol-hiding` (eliminates unneeded symbols in the shared library)
538 - `--without-brotli` (Brotli on-the-fly decompression)
539 - `--without-libpsl` (Public Suffix List in cookies)
540 - `--without-nghttp2` (HTTP/2 using nghttp2)
541 - `--without-ngtcp2` (HTTP/2 using ngtcp2)
542 - `--without-zstd` (Zstd on-the-fly decompression)
543 - `--without-libidn2` (internationalized domain names)
544 - `--without-librtmp` (RTMP)
545 - `--without-ssl` (SSL/TLS)
546 - `--without-zlib` (on-the-fly decompression)
551 the configure command-line, e.g.
553 CFLAGS="-Os -ffunction-sections -fdata-sections
554 -fno-unwind-tables -fno-asynchronous-unwind-tables -flto"
555 LDFLAGS="-Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections"
558 using 'strip' (or the appropriate variant if cross-compiling). If space is
560 library using the -R option to objcopy (e.g. the .comment section).
562 Using these techniques it is possible to create a basic HTTP-only libcurl
570 the `--disable` statements suggested above. Use will cause tests relying on
576 - `--disable-cookies` !cookies
577 …- `--disable-dateparse` !RETRY-AFTER !`CURLOPT_TIMECONDITION` !`CURLINFO_FILETIME` !`If-Mod…
578 - `--disable-libcurl-option` !`--libcurl`
579 - `--disable-verbose` !verbose\ logs
592 HP-UX, Hurd, Illumos, Integrity, iOS, ipadOS, IRIX, Linux, Lua RTOS,
593 Mac OS 9, macOS, Mbed, Micrium, MINIX, MorphOS, MPE/iX, MS-DOS, NCR MP-RAS,
597 SINIX-Z, Solaris, SunOS, Syllable OS, Symbian, Tizen, TPF, Tru64, tvOS,
604 Alpha, ARC, ARM, AVR32, CompactRISC, Elbrus, ETRAX, HP-PA, Itanium,
606 RISC-V, s390, SH4, SPARC, Tilera, VAX, x86, Xtensa