cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cross-compiling libcurl x86 on Linux x64

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 16 Sep 2010 18:07:02 -0700

On Fri, Sep 17, 2010 at 12:35:03AM +0100, Tom Edwards wrote:
> I'm not interested in those extra dongles, all I want is HTTP. We'll have
> to see what it says about the stuff I don't have when it actually tries to
> build in 32-bit. :-)
>
> A line from terminal:
>> libtool: compile: gcc -DHAVE_CONFIG_H -I../include/curl -I../include
>> -I../include -I../lib -I../lib -g0 -O2 -Wno-system-headers -MT smtp.lo
>> -MD -MP -MF .deps/smtp.Tpo -c smtp.c -fPIC -DPIC -o .libs/smtp.o

I don't see any special flags in there or a special compiler that would
indicate that it's trying to build a 32-bit binary. How do you normally
do it? If it's a compiler flag, have you tried ./configure with a
CFLAGS= argument?

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