From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dkopr-0008W5-Rc for qemu-devel@nongnu.org; Tue, 21 Jun 2005 15:55:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dkopl-0008SV-Q6 for qemu-devel@nongnu.org; Tue, 21 Jun 2005 15:54:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dkopl-0008SS-Kk for qemu-devel@nongnu.org; Tue, 21 Jun 2005 15:54:57 -0400 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dkojv-0002ZT-RG for qemu-devel@nongnu.org; Tue, 21 Jun 2005 15:48:56 -0400 Date: Tue, 21 Jun 2005 15:45:53 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] quick gtk2.c update Message-ID: <20050621194553.GA3898@jbrown.mylinuxbox.org> References: <20050621042844.GA13691@jbrown.mylinuxbox.org> <002001c5767e$818808a0$334d21d1@organiza3bfb0e> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <002001c5767e$818808a0$334d21d1@organiza3bfb0e> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jun 21, 2005 at 11:27:10AM -0500, jeebs@yango.us wrote: > I downloaded the libraries and devel files from the link Jernej Simoncic > recommended. It does seem to be a main win gtk distrib location. (As > somebody pointed out, actually building gtk etc. under Mingw is a pita. I > haven't tried, but judging from all the stuff that would be needed to build > it, I suspect that's true.) > > The unzip into the proper mingw directory structure. > > I'm using the versions recommended and distributed on > http://www.gimp.org/~tml/gimp/win32/ > > I get the same error regardless whether I'm using the recommended version or > the bleeding edge version. > > I'm just downloading the pre-built devel libraries. That would explain the error. The pre-build devel libraries would have -mms-bitfields set (in order to ensure compatibility). Attached is a simple Makefile.target patch that will turn that option on when building qemu on Windows. Just apply the patch, reconfigure, and rebuild qemu. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection. --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="Makefile.target.patch" --- Makefile.target.old Tue Jun 21 15:42:52 2005 +++ Makefile.target Tue Jun 21 15:44:17 2005 @@ -211,6 +211,10 @@ ######################################################### +ifdef CONFIG_WIN32 +CFLAGS+=-mms-bitfields +endif + DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE LIBS+=-lm ifndef CONFIG_USER_ONLY --lrZ03NoBR/3+SXJZ--