cURL / Mailing Lists / curl-library / Single Mail

curl-library

Is it safe to build the cURL library as multi-arch?

From: Jeffrey Walton <noloader_at_gmail.com>
Date: Thu, 27 Aug 2015 18:43:45 -0400

Hi Everyone,

A quick question (Google did not produce a useful hit).

Is it safe to build the cURL library as multi-arch? In particular:

    export CFLAGS="-arch ppc -arch ppc64"
    ./configure ...

If the headers are agnostic, then I think it should be safe. (A
library like OpenSSL cannot be safely built like this because of the
configuration/architecture settings in <openssl/opensslconf.h>).

Are there any architecture dependent settings or defines written to a header?

Thanks in advance.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-08-28