cURL / Mailing Lists / curl-users / Single Mail

curl-users

Getting curl to cross compile with SSL

From: Anirudh V. Ramachandran <anirudhvr_at_gmail.com>
Date: Fri, 2 Sep 2005 18:59:57 -0400

Hi,

I need to get curl to cross-compile on an ipaq handheld PC with SSL
enabled. The ipaq is running Familiar Linux, but the distribution of
curl available for Familiar doesnt have SSL. How do I get it to
compile with SSL for the target machine (arm architecture). My host
machine has ssl libraries in /lib. However, I tried the
--with-ssl=/lib during configure, but it didnt work. Is this because
the libraries are for the host architecture? So do I have to download
openssl source, cross compile it, and then cross compile curl using
those openssl libs? Space is also an issue, I cant spare more than an
MB or so of space for the final binary on the ipaq.

Please advice.

thanks in advance,
anirudh
Received on 2005-09-03