diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/INSTALL | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/docs/INSTALL b/docs/INSTALL index 6b0fd039c..c9194bbb1 100644 --- a/docs/INSTALL +++ b/docs/INSTALL @@ -86,6 +86,7 @@ UNIX LDFLAGS=-R/usr/local/ssl/lib ./configure --with-ssl MORE OPTIONS + ------------ To force configure to use the standard cc compiler if both cc and gcc are present, run configure like @@ -140,6 +141,16 @@ UNIX To get support for SCP and SFTP, build with --with-libssh2 and have libssh2 0.16 or later installed. + SPECIAL CASES + ------------- + Some versions of uClibc require configuring with CPPFLAGS=-D_GNU_SOURCE=1 + to get correct large file support. + + The Open Watcom C compiler on Linux requires configuring with the variables: + + CC=owcc AR="$WATCOM/binl/wlib" AR_FLAGS=-q RANLIB=/bin/true \ + STRIP="$WATCOM/binl/wstrip" CFLAGS=-Wextra + Win32 ===== @@ -620,40 +631,29 @@ eCos Minix ===== curl can be compiled on Minix 3 using gcc or ACK (starting with - ver. 3.1.3). The default heap size allocated to several required - programs is inadequate for configuring and compiling curl and will - result in strange errors unless fixed (which only needs to be done - once). + ver. 3.1.3). ACK --- - Increase heap sizes with the commands: - - chmem =1024000 /usr/lib/em_cemcom.ansi - chmem =512000 /usr/lib/i386/as + Increase the heap sizes of the compiler with the command: - If you have bash installed: - - chmem =2048000 /usr/local/bin/bash + binsizes xxl Configure and compile with: - ./configure CC=cc LD=cc GREP=grep CPPFLAGS=-D_POSIX_SOURCE=1 + ./configure CONFIG_SHELL=/bin/bigsh CC=cc LD=cc AR=/usr/bin/aal \ + GREP=grep CPPFLAGS=-D_POSIX_SOURCE=1 make GCC --- - If you have bash installed: - - chmem =2048000 /usr/local/bin/bash - Make sure gcc is in your PATH with the command: export PATH=/usr/gnu/bin:$PATH then configure and compile curl with: - ./configure CC=gcc GREP=grep AR=/usr/gnu/bin/gar + ./configure CONFIG_SHELL=/bin/bigsh CC=gcc AR=/usr/gnu/bin/gar GREP=grep make @@ -675,7 +675,7 @@ CROSS COMPILE (This section was graciously brought to us by Jim Duey, with additions by Dan Fandrich) - Download and unpack the cURL package. Version should be 7.9.1 or later. + Download and unpack the cURL package. 'cd' to the new directory. (e.g. cd curl-7.12.3) @@ -725,12 +725,12 @@ REDUCING SIZE important factor. First, be sure to set the CFLAGS variable when configuring with any relevant compiler optimization flags to reduce the size of the binary. For gcc, this would mean at minimum the -Os option, - potentially the -march=X and -mdynamic-no-pic options as well, e.g.: + and potentially the -march=X and -mdynamic-no-pic options as well, e.g. ./configure CFLAGS='-Os' ... Note that newer compilers often produce smaller code than older versions - due to better optimization. + due to improved optimization. Be sure to specify as many --disable- and --without- flags on the configure command-line as you can to disable all the libcurl features that you @@ -803,7 +803,7 @@ PORTS - StrongARM/ARM7/ARM9 Linux 2.4, 2.6 - StrongARM NetBSD 1.4.1 - ARM INTEGRITY - - Symbian OS (P.I.P.S.) + - Symbian OS (P.I.P.S.) 9.x - TPF - Ultrix 4.3a - UNICOS 9.0 |