cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Curl Embedded Linux

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 1 Jul 2007 16:27:31 +0200 (CEST)

On Sun, 1 Jul 2007, Chris Brown wrote:

> ./configure --target=mipsel-linux \
> --host=mipsel-linux \
> --build=mipsel-linux-gnu \

To me this looks wrong.

--build is documented to set "configure for building on BUILD [guessed]" but
you are not running this to _build on_ the MIPS, right? If you're running this
to cross-compile on a "regular" Linux _for_ a MIPS, you should just use --host
and let configure assume that you will build on the same arch that you run
configure on.

(Although of course I'm not sure it makes any noticable difference since
you're targeting a little endian Linux so it might just give the exact same
outputs as for a x86 Linux.)

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-07-01