cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Frank Chang <frank_chang91_at_hotmail.com>
Date: Sat, 23 Apr 2016 22:38:37 -0400

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.

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

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.

Frank
                                               

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