From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFbeO-0003yg-PV for qemu-devel@nongnu.org; Sat, 13 Jun 2009 18:24:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFbeJ-0003y3-Ev for qemu-devel@nongnu.org; Sat, 13 Jun 2009 18:24:36 -0400 Received: from [199.232.76.173] (port=35890 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFbeJ-0003y0-AP for qemu-devel@nongnu.org; Sat, 13 Jun 2009 18:24:31 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:58721) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MFbeI-0006J8-WA for qemu-devel@nongnu.org; Sat, 13 Jun 2009 18:24:31 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e36.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n5DMN5E2016572 for ; Sat, 13 Jun 2009 16:23:05 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5DMOTh1259720 for ; Sat, 13 Jun 2009 16:24:29 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n5DMOTG9025061 for ; Sat, 13 Jun 2009 16:24:29 -0600 Message-ID: <4A34271B.8080207@us.ibm.com> Date: Sat, 13 Jun 2009 17:24:27 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Fix SDL configuration for mingw32 cross compilation. References: <1244880087-5277-1-git-send-email-weil@mail.berlios.de> In-Reply-To: <1244880087-5277-1-git-send-email-weil@mail.berlios.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-devel@nongnu.org Stefan Weil wrote: > When building QEMU for win32 on linux with mingw32, > configure must call ${cross_prefix}-sdl-config (not > sdl-config) to get the correct include and lib paths. > > The results of the native sdl-config are only valid > for native builds. They are useless for cross builds. > No, when you cross compile sdl, you still end up with an sdl-config binary. The solution is to install the binary to a different path and use PATH when building. Where did you get your cross build of SDL from? I assume whoever packaged it renamed the binary but it's not what sdl actually does. -- Regards, Anthony Liguori