217
217
adjust as necessary. It is also possible to override these paths with
218
218
environment variables, for example:
220
set ZLIB_PATH=c:\zlib-1.2.5
221
set OPENSSL_PATH=c:\openssl-0.9.8r
222
set LIBSSH2_PATH=c:\libssh2-1.2.8
220
set ZLIB_PATH=c:\zlib-1.2.7
221
set OPENSSL_PATH=c:\openssl-0.9.8x
222
set LIBSSH2_PATH=c:\libssh2-1.4.2
224
224
ATTENTION: if you want to build with libssh2 support you have to use latest
225
225
version 0.17 - previous versions will NOT work with 7.17.0 and later!
320
320
documentation on how to compile zlib. Define the ZLIB_PATH environment
321
321
variable to the location of zlib.h and zlib.lib, for example:
323
set ZLIB_PATH=c:\zlib-1.2.5
323
set ZLIB_PATH=c:\zlib-1.2.7
325
325
Then run 'nmake vc-zlib' in curl's root directory.
334
334
Before running nmake define the OPENSSL_PATH environment variable with
335
335
the root/base directory of OpenSSL, for example:
337
set OPENSSL_PATH=c:\openssl-0.9.8q
337
set OPENSSL_PATH=c:\openssl-0.9.8x
339
339
Then run 'nmake vc-ssl' or 'nmake vc-ssl-dll' in curl's root
340
340
directory. 'nmake vc-ssl' will create a libcurl static and dynamic
843
See the build notes in the Android.mk file.
843
Method using the static makefile:
844
- see the build notes in the Android.mk file.
846
Method using a configure cross-compile (tested with Android NDK r7b):
847
- prepare the toolchain of the Android NDK for standalone use; this can
848
be done by invoking the script:
849
./tools/make-standalone-toolchain.sh
850
which creates a usual cross-compile toolchain. Lets assume that you put
851
this toolchain below /opt then invoke configure with something like:
852
export PATH=/opt/arm-linux-androideabi-4.4.3/bin:$PATH
853
./configure --host=arm-linux-androideabi [more configure options]
855
- if you want to compile directly from our GIT repo you might run into
856
this issue with older automake stuff:
857
checking host system type...
858
Invalid configuration `arm-linux-androideabi':
859
system `androideabi' not recognized
860
configure: error: /bin/sh ./config.sub arm-linux-androideabi failed
861
this issue can be fixed with using more recent versions of config.sub
862
and config.guess which can be obtained here:
863
http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree
864
you need to replace your system-own versions which usually can be
865
found in your automake folder:
866
find /usr -name config.sub