cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cross-compiling libcurl x86 on Linux x64

From: Tom Edwards <t_edwards_at_btinternet.com>
Date: Sat, 18 Sep 2010 08:13:02 +0100

  On 17/09/2010 3:56, Daniel Egger wrote:
> So essentially you're trying to cross compile a 32 Bit binary with a
> 64 Bit compiler using autoconf scripts? Interesting, never tried that
> before.
>
> I build my cross-binaries (of curl) like this:
> CC=$(CROSS_GCC) CFLAGS="$(CFLAGS)" $(SOURCE)/configure
> --build=$(HOST_TOOLCHAIN) --host=$(CROSS_TOOLCHAIN)
>
> Servus,
> Daniel
What does CROSS_GCC resolve to? I noticed this output from configure
yesterday (normally it's cut off by the character history limit):
> checking for i686-pc-linux-gnu-gcc... no
The two seem related.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-18