cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl configure with openssl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 16 Jul 2013 10:00:48 +0200

On Tue, Jul 16, 2013 at 12:47:35PM +0530, Indtiny s wrote:
> I need to cross compile curl for some target .
> first I cross complied openssl for that target .
> Then I tried the below script 
>
> export CC="$TARTGET_ROOT/arm-none-linux-gnueabi-gcc"
> export LD="$TARTGET_ROOT/arm-none-linux-gnueabi-ld"
> export AR="$TARTGET_ROOT/arm-none-linux-gnueabi-ar"
> export RANLIB="$TARTGET_ROOT/arm-none-linux-gnueabi-ranlib"
> export NM="$NTARTGET_ROOT/arm-none-linux-gnueabi-nm"
>
> ./configure  -host=arm-none-linux  --with-ssl=/usr/local/target/openssl-1.0.1c
> --enable-static --enable-shared
>
> after running this it finds the compiler but not able find the SSL support ,
> if only the ./configure  -host=arm-none-linux  --with-ssl=/usr/local/target/
> openssl-1.0.1c --enable-static --enable-shared .
>
> It finds the SSL but compiler setting will be gcc .
>
> Can you pls help me to properly configure the curl for my target .

Please read the INSTALL file first. There is extensive information on cross
compiling and compiling with OpenSSL there.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-16