curl / Mailing Lists / curl-library / Single Mail


Re: Help

From: Daniel Stenberg <>
Date: Thu, 26 Jul 2018 17:26:25 +0200 (CEST)

On Wed, 25 Jul 2018, CHUONG HOANG wrote:

> I'm trying to build (cross compile) a libcurl for Embedded Lynxos on
> Window64. I download curl-7.60.0 and start with configure command and I have
> error as bellow, what should I do?

I don't think trying to cross-compile on Windows for anything non-Windows is a
good idea. You will probably have a much smoother ride doing that on Linux.

> [curl-7.60.0] $ ./configure

Just invoking configure with no extra options will genarate a build setup for
a *native* build, not a cross-compiled one.

You need to have your environment setup for cross-compilation and then tell
configure your target host system with --host=.

> bash.exe: warning: could not find /tmp, please create!

This would indicate your system is far from OK to use configure on. I don't
know much about using bash nor configure on Windows so I'm not really the best
person you help you from this point.

Received on 2018-07-26