From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR9g8-0006Pd-KQ for qemu-devel@nongnu.org; Wed, 03 Feb 2016 21:29:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR9g5-00089N-Eh for qemu-devel@nongnu.org; Wed, 03 Feb 2016 21:29:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR9g5-00089J-8u for qemu-devel@nongnu.org; Wed, 03 Feb 2016 21:29:49 -0500 Date: Thu, 4 Feb 2016 10:29:44 +0800 From: Fam Zheng Message-ID: <20160204022944.GF5187@ad.usersys.redhat.com> References: <1454510164-6278-1-git-send-email-famz@redhat.com> <1454510164-6278-4-git-send-email-famz@redhat.com> <56B217E4.2070603@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56B217E4.2070603@weilnetz.de> Subject: Re: [Qemu-devel] [RFC PATCH 3/4] tests: Add mingw 32/64 cross compiling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: kwolf@redhat.com, peter.maydell@linaro.org, Alex =?iso-8859-1?Q?Benn=E9e?= , qemu-devel@nongnu.org, stefanha@redhat.com, Paolo Bonzini , jsnow@redhat.com, david@gibson.dropbear.id.au On Wed, 02/03 16:08, Stefan Weil wrote: > Am 03.02.2016 um 15:36 schrieb Fam Zheng: > > Only fedora22 has the required toolchain so it's not run elsewhere. > > > > Signed-off-by: Fam Zheng > > --- > > tests/docker/mingw.sh | 14 ++++++++++++++ > > 1 file changed, 14 insertions(+) > > create mode 100755 tests/docker/mingw.sh > > > > diff --git a/tests/docker/mingw.sh b/tests/docker/mingw.sh > > new file mode 100755 > > index 0000000..0f103cd > > --- /dev/null > > +++ b/tests/docker/mingw.sh > > @@ -0,0 +1,14 @@ > > +#!/bin/bash > > + > > +if [ "$IMAGE_TAG" != "fedora22" ]; then > > + echo "Mingw test skipped" > > + exit 0 > > +fi > > + > > +cd $(mktemp -d) > > +for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do > > + $QEMU_SRC/configuire --cross-prefix=$prefix \ > > configure? Yes, how could I not notice the type? @.@ > > > + --target-list=x86_64-softmmu,aarch64-softmmu > > + make $MAKEFLAGS > > +done > > + > > I suggest to add a trace backend as well (my tests run with > --enable-trace-backend=stderr, so maybe you want to choose > a different one). Will do. > > Another useful option for configure is --enable-debug. > The compilation will be much faster and detect nearly > the same kind of problems as the standard compilation > (use of uninitialized variables won't be detected). OK. Thanks for taking a look! Fam > > Regards, > Stefan >