cURL / Mailing Lists / curl-library / Single Mail


Re: Questions on building libcurl for Android

From: Guenter <>
Date: Tue, 28 Aug 2012 01:25:31 +0200

Am 27.08.2012 11:35, schrieb Ram:
> Thanks Guenter, this was helpful and I created a cross-compile Android
> NDK toolchain for standalone use (on my Windows 7 machine).
> I also defined variables like $ export
> CC=/cygdrive/c/TestDir/android-ndk-r8b/toolchains/standalone-arm-4.4.3/bin/arm-linux-androideabi-gcc.exe
> and similarly for AR, LD, AS, NM, RANLIB.
no, IMO this is the wrong way, ans most likely the cause why you get the
errors later ...
you should try this:
- setup a path to the cross-compiler's bin folder so that you can
execute f.e. 'arm-linux-androideabi-gcc -v' from shell.
- call configure with:
./configure --host=arm-linux-androideabi --with-zlib --enable-ipv6 [more
options if needed, f.e. --disable-shared]


List admin:
Received on 2012-08-28