cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ross compile libcurl 7.37.1 with-ssl-and-zlib-support on ubuntu linux 16.04 for the arm-linux-gnueabi-gcc toolchain

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 24 Apr 2016 10:56:44 +0200

On Sat, Apr 23, 2016 at 10:38:37PM -0400, Frank Chang wrote:
> Mr. Daniel Stenberg,
> I ran the following ARM GCC toolchain linker statement on Ubuntu Linux
> 16.04 today in order to
> cross compile libcurl 7.37.1 with-ssl-and-zlib-support on ubuntu linux 16.04
> for arm-linux-gnueabi-gcc
> toolchain.

Note that version 7.37.1 is almost two years old now.

> ~/curl-7.37.1$ arm-linux-gnueabi-gcc -O2 -Wno-system-headers -o .libs/curl
> curl-tool_binmode.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o
> curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_wrt.o
> curl-tool_cfgable.o curl-tool_convert.o curl-tool_dirhie.o curl-tool_doswin.o
> curl-tool_easysrc.o curl-tool_formparse.o curl-tool_getparam.o
> curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_homedir.o
> curl-tool_hugehelp.o curl-tool_libinfo.o curl-tool_main.o curl-tool_metalink.o
> curl-tool_mfiles.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o
> curl-tool_panykey.o curl-tool_paramhlp.o curl-tool_parsecfg.o
> curl-tool_setopt.o curl-tool_sleep.o curl-tool_urlglob.o curl-tool_util.o
> curl-tool_vms.o curl-tool_writeenv.o curl-tool_writeout.o curl-tool_xattr.o ../
> lib/curl-strtoofft.o ../lib/curl-strdup.o ../lib/curl-rawstr.o ../lib/
> curl-nonblock.o ../lib/curl-warnless.o -L/home/clickitlinux3/zlib-1.2.8 -lz -L
> /home/clickitlinux3/openssl-1.0.1s -lssl -L/home/clickitlinux3/openssl-1.0.1s
> -lcrypto ../lib/.libs/libcurl.so
>
> I tried this URL, http://www.matteomattei.com/
> how-to-cross-compile-curl-library-with-ssl-and-zlib-support/ without success
> because it had some typographical errors.

I suggest notifying the author of the errors so they can be corrected.

> Could you please advise the correct way to cross compile libcurl 7.37.1
> with-ssl-and-zlib-support on ubuntu linux 16.04 for arm-linux-gnueabi-gcc?
>
> Any help is greatly appreciated.

Have you read the INSTALL document, specifically the cross-compile section? If
you don't have success after following those instructions, please let us know
the commands you tried and the logs showing the errors you see.

>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-04-24