cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] configure: fix cross pkg-lconfig detection

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 9 Dec 2012 21:16:03 +0100

On Sun, Dec 09, 2012 at 02:20:17PM -0500, Frank Chang wrote:
> Daniel Stenberg, I just tested the latest libcurl-7.28.1.tar.gz download on
> Solaris UNIX. We ran the following sequence:
> 1) gunzip libcurl-7.28.1.tar.gz
> 2) tar -zvf libcurl-7.28.1tar
> 3) ./configure
> 4) make
>
> and we observe lots of gcc --tag=CC compile directives. We were curious about
> whether Solaris CC == gcc --tag=CC. Thank you.

Once again, you failed to provide an actual log of what you're
describing, so I'm going to go on a limb and guess at what you're
actually trying to describe. curl's build system doesn't add --tag=CC
directives to the gcc command line. It does, however, use libtool, and
libtool uses the --tag=CC directive to control its operation. libtool
operates as a wrapper around the compiler in use (whether gcc or cc or
any other), and the --tag option (as well as --mode) informs libtool of
the type of compile that's happening. You can find out more about
libtool and its role in the build by reading the extensive libtool
documentation (or http://www.gnu.org/software/libtool/libtool.html if
you don't already have it installed).

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-12-09