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.