Simplified Minix compile instructions and added some special cases.
This commit is contained in:
parent
f14e020370
commit
e7f5d12cb6
42
docs/INSTALL
42
docs/INSTALL
@ -86,6 +86,7 @@ UNIX
|
|||||||
LDFLAGS=-R/usr/local/ssl/lib ./configure --with-ssl
|
LDFLAGS=-R/usr/local/ssl/lib ./configure --with-ssl
|
||||||
|
|
||||||
MORE OPTIONS
|
MORE OPTIONS
|
||||||
|
------------
|
||||||
|
|
||||||
To force configure to use the standard cc compiler if both cc and gcc are
|
To force configure to use the standard cc compiler if both cc and gcc are
|
||||||
present, run configure like
|
present, run configure like
|
||||||
@ -140,6 +141,16 @@ UNIX
|
|||||||
To get support for SCP and SFTP, build with --with-libssh2 and have
|
To get support for SCP and SFTP, build with --with-libssh2 and have
|
||||||
libssh2 0.16 or later installed.
|
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
|
Win32
|
||||||
=====
|
=====
|
||||||
@ -620,40 +631,29 @@ eCos
|
|||||||
Minix
|
Minix
|
||||||
=====
|
=====
|
||||||
curl can be compiled on Minix 3 using gcc or ACK (starting with
|
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
|
ver. 3.1.3).
|
||||||
programs is inadequate for configuring and compiling curl and will
|
|
||||||
result in strange errors unless fixed (which only needs to be done
|
|
||||||
once).
|
|
||||||
|
|
||||||
ACK
|
ACK
|
||||||
---
|
---
|
||||||
Increase heap sizes with the commands:
|
Increase the heap sizes of the compiler with the command:
|
||||||
|
|
||||||
chmem =1024000 /usr/lib/em_cemcom.ansi
|
binsizes xxl
|
||||||
chmem =512000 /usr/lib/i386/as
|
|
||||||
|
|
||||||
If you have bash installed:
|
|
||||||
|
|
||||||
chmem =2048000 /usr/local/bin/bash
|
|
||||||
|
|
||||||
Configure and compile with:
|
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
|
make
|
||||||
|
|
||||||
GCC
|
GCC
|
||||||
---
|
---
|
||||||
If you have bash installed:
|
|
||||||
|
|
||||||
chmem =2048000 /usr/local/bin/bash
|
|
||||||
|
|
||||||
Make sure gcc is in your PATH with the command:
|
Make sure gcc is in your PATH with the command:
|
||||||
|
|
||||||
export PATH=/usr/gnu/bin:$PATH
|
export PATH=/usr/gnu/bin:$PATH
|
||||||
|
|
||||||
then configure and compile curl with:
|
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
|
make
|
||||||
|
|
||||||
|
|
||||||
@ -675,7 +675,7 @@ CROSS COMPILE
|
|||||||
(This section was graciously brought to us by Jim Duey, with additions by
|
(This section was graciously brought to us by Jim Duey, with additions by
|
||||||
Dan Fandrich)
|
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)
|
'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
|
important factor. First, be sure to set the CFLAGS variable when
|
||||||
configuring with any relevant compiler optimization flags to reduce the
|
configuring with any relevant compiler optimization flags to reduce the
|
||||||
size of the binary. For gcc, this would mean at minimum the -Os option,
|
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' ...
|
./configure CFLAGS='-Os' ...
|
||||||
|
|
||||||
Note that newer compilers often produce smaller code than older versions
|
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
|
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
|
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/ARM7/ARM9 Linux 2.4, 2.6
|
||||||
- StrongARM NetBSD 1.4.1
|
- StrongARM NetBSD 1.4.1
|
||||||
- ARM INTEGRITY
|
- ARM INTEGRITY
|
||||||
- Symbian OS (P.I.P.S.)
|
- Symbian OS (P.I.P.S.) 9.x
|
||||||
- TPF
|
- TPF
|
||||||
- Ultrix 4.3a
|
- Ultrix 4.3a
|
||||||
- UNICOS 9.0
|
- UNICOS 9.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user