From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2p47-0001Cp-HU for qemu-devel@nongnu.org; Sun, 11 Sep 2011 14:47:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2p46-00079I-LS for qemu-devel@nongnu.org; Sun, 11 Sep 2011 14:47:39 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:35785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2p46-00079C-AL for qemu-devel@nongnu.org; Sun, 11 Sep 2011 14:47:38 -0400 Message-ID: <4E6D0248.7070803@mail.berlios.de> Date: Sun, 11 Sep 2011 20:47:36 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1315756545-25630-1-git-send-email-weil@mail.berlios.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] pkg-config: Add a pkg-config script for cross compilations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org Am 11.09.2011 20:25, schrieb Paolo Bonzini: > On 09/11/2011 05:55 PM, Stefan Weil wrote: >> This script can be used for cross compilations. >> I use it on Debian / Ubuntu to provide a cross pkg-config >> for MinGW (32 and 64 bit), ARM, MIPS and PowerPC. > > I think the lack of such script is a bug in your distro. Fedora > provides /usr/bin/i686-pc-mingw32-pkg-config. You should report a bug > with Debian. > > Paolo Well, Redhat has a large interest in QEMU, so I assume that Fedora is better prepared for cross compilations than most other distributions. Does it also provide cross glib-2.0, sdl, zlib, ...? How does it implement cross pkg-config? As a binary compiled from source, or as a script using native pkg-config? Debian has only very limited cross development support. Most cross packages I use come from Emdebian. I doubt that they have the manpower to do more than they already do. As far as I know, they don't provide any cross package which needs a cross pkg-config, so the missing cross pkg-config is not really a bug... How about other distributions? Are there others beside Fedora with good cross dev support? Some large embedded projects still build their own cross toolchain instead of using precompiled binaries. For all those which don't have a cross pkg-config, the script saves the time and memory needed for building it. Stefan