cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl configure with openssl

From: Indtiny s <indtiny_at_gmail.com>
Date: Tue, 16 Jul 2013 12:47:35 +0530

Hi ,
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 .

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