cURL / Mailing Lists / curl-users / Single Mail

curl-users

how to cross-compile curl?

From: Robert P. J. Day <rpjday_at_mindspring.com>
Date: Mon, 18 Jul 2005 14:16:45 -0400 (EDT)

  hi, i'm trying to cross-compile curl for a PPC board, using the ELDK
3.1.1 toolchain, so i know some of my configure options will be:

  CC=pcc-linux-gcc --host=ppc-linux

but i want SSL support as well, and i'm not sure what to use for the
"--with-ssl" option value. what should that be set to? the directory
name of the openssl lib in the cross-compiler structure? no matter
what i try, i keep getting:

... snip ...
checking for SSL_connect in -lssl... no
checking for ssl with RSAglue/rsaref libs in use... checking for
SSL_connect in -lssl... (cached) no
no
configure: error: OpenSSL libs and/or directories were not found where
specified!

  thoughts? or does someone have a better idea on the magic
incantation to do a cross-compile? thanks.

rday
Received on 2005-07-18