cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to cross-compile curl?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 18 Jul 2005 11:41:26 -0700

On Mon, Jul 18, 2005 at 02:16:45PM -0400, Robert P. J. Day wrote:
>
>
> 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:

The --with-ssl option should be set to the root of the OpenSSL installation
(the default is /usr/local/ssl). There should be lib/ and include/
directories under that location.

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

The cross-compile magic documentation is in the cross compile section of
the docs/INSTALL file.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2005-07-18