From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlFXl-0001EN-DP for qemu-devel@nongnu.org; Wed, 19 Dec 2012 04:02:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlFXg-0003wP-CF for qemu-devel@nongnu.org; Wed, 19 Dec 2012 04:02:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlFXg-0003wK-5C for qemu-devel@nongnu.org; Wed, 19 Dec 2012 04:02:20 -0500 Message-ID: <50D18295.8000509@redhat.com> Date: Wed, 19 Dec 2012 10:02:13 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1355426208.14046.6@snotra> <50CADFC1.1050301@redhat.com> <1355511117.4740.4@snotra> In-Reply-To: <1355511117.4740.4@snotra> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH] Allow building without graphics support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Scott Wood Cc: Stefan Weil , Anthony Liguori , qemu-devel@nongnu.org On 12/14/12 19:51, Scott Wood wrote: > On 12/14/2012 02:13:53 AM, Gerd Hoffmann wrote: >> Hi, >> >> > Yes, I could manually install it, though then I get to deal with >> telling >> > the pixman build exactly where to install itself, and repeating the >> > process for each toolchain and multilib-variant thereof. >> >> That part is easy too. You just need ${cross_prefix}-pkg-config. >> A simple two-liner script which sets PKG_CONFIG_PATH, then calls >> /usr/bin/pkg-config. That will not only work for pixman, but all >> libraries detected via pkg-config by configure. > > I already have that (though I can't just use ${cross_prefx} because I > have multilib variants to account for, so I set PKG_CONFIG=... when > running configure), due to the glib dependency. That works too. > That just lets pixman > (and other libraries) be found in the QEMU build; it doesn't reduce the > burden of building and installing pixman for all targets. Yep. Pixman isn't different from all other build dependencies though. Once you have pkg-config working for your cross-build setup it should do fine for all packages qemu depends on. cheers, Gerd