cURL / Mailing Lists / curl-library / Single Mail

curl-library

Recommended setup for cross-platform development?

From: Dave Nadler <drn_at_nadler.com>
Date: Fri, 26 Feb 2016 17:51:33 -0500

Hi, Sorry if this has been addressed, but I couldn't find it...

I'm (like many) working on a project that is developed and tested on a
64-bit host
(Ubuntu in this case), and cross-compiled and deployed to many different
targets,
(assorted arm, x86, MIPS), some of which are 32-bit. Trying to use curl.

I of course just got a failure in the curlrules.h checks...

I read: https://sourceforge.net/p/curl/bugs/1385/

What is the recommended setup technique for all the developers like us?

Thanks!
Best Regards, Dave

PS: Here's the installed Ubuntu configuration:
$ curl-config --configure
  '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=/usr/include'
'--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--sysconfdir=/etc' '--localstatedir=/var'
'--libdir=/usr/lib/x86_64-linux-gnu'
'--libexecdir=/usr/lib/x86_64-linux-gnu' '--disable-maintainer-mode'
'--disable-dependency-tracking' '--disable-symbol-hiding'
'--enable-versioned-symbols' '--enable-threaded-resolver'
'--with-lber-lib=lber' '--with-gssapi=/usr'
'--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt' '--without-ssl'
'--with-gnutls' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro
-Wl,--as-needed' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'

-- 
Dave Nadler, USA East Coast voice (978) 263-0097, drn_at_nadler.com, Skype
  Dave.Nadler1

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