qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-2.9] Fix check for target OS support


From: Mark Cave-Ayland
Subject: Re: [Qemu-devel] [PATCH for-2.9] Fix check for target OS support
Date: Tue, 28 Mar 2017 13:05:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

On 28/03/17 12:53, Stefan Weil wrote:

> You are right. I was wrong because of this use case:
> 
> $ ./configure '--enable-debug' '--cross-prefix=x86_64-w64-mingw32'
> 
> ERROR: Unsupported host OS CYGWIN_NT-6.1
> 
> So the error message is misleading when I specify a wrong cross prefix
> (it should have been x86_64-w64-mingw32- instead of x86_64-w64-mingw32).
> 
> With the correct cross prefix, builds work, so cross builds are
> not a critical issue as I thought.
> 
> The second issue which remains is calling ./configure --help:
> 
> $ ./configure --help
> 
> ERROR: Unsupported host OS CYGWIN_NT-6.1
> 
> The third issue is the message for deprecated cpus or targets
> which should use "target" instead of "host".
> 
> All these three issues are not critical for the next QEMU version.
> Therefore I think they can be fixed after the release.

On a related note, I was scratching my head for a while over the weekend
trying to build on MingW with the "ERROR: Unsupported host ..." message,
since it also pops up if you don't have gcc installed, or indeed gcc but
not the gcc headers installed.

The latter case was much harder to spot since config.log showed other
warnings and #errors from previous configure tests before failing with
the unrelated ERROR message.


ATB,

Mark.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]