cURL / Mailing Lists / curl-library / Single Mail


Re: Problem cross compiling curl

From: Guenter Knauf <>
Date: Fri, 25 Jan 2008 21:03:45 +0100

> I am trying to cross compile libCurl for my gumstix. I made the tool chain
> the first thing in my
> path. I then specify ./configure --host=arm-linux followed by make
> the compile dies with the following error :
I was few days ago on cross-compiling binutils, and ran into similar probs;
then I've read somewhere on a list that 'you cant let configure guess anything'...
and then I used this:

CC_FOR_BUILD=i586-mingw32msvc-gcc \
GCC_FOR_BUILD=i586-mingw32msvc-gcc \
AS_FOR_BUILD=i586-mingw32msvc-as \
AR_FOR_BUILD=i586-mingw32msvc-ar \
LD_FOR_BUILD=i586-mingw32msvc-ld \
CC_FOR_TARGET=i586-mingw32msvc-gcc \
GCC_FOR_TARGET=i586-mingw32msvc-gcc \
AS_FOR_TARGET=i586-mingw32msvc-as \
LD_FOR_TARGET=i586-mingw32msvc-ld \
./configure \
--target=i586-netware \
--host=i586-mingw32msvc \

you should probably try with something similar...

HTH, Guenter.
Received on 2008-01-25