From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjaJQ-00085m-JF for qemu-devel@nongnu.org; Fri, 14 Dec 2012 13:48:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjaJO-0001Mt-1R for qemu-devel@nongnu.org; Fri, 14 Dec 2012 13:48:44 -0500 Received: from co9ehsobe003.messaging.microsoft.com ([207.46.163.26]:15614 helo=co9outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjaJN-0001Mn-OL for qemu-devel@nongnu.org; Fri, 14 Dec 2012 13:48:41 -0500 Date: Fri, 14 Dec 2012 12:48:34 -0600 From: Scott Wood In-Reply-To: <50CADE3B.9010906@redhat.com> (from kraxel@redhat.com on Fri Dec 14 02:07:23 2012) Message-ID: <1355510914.4740.3@snotra> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; delsp=Yes; format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH] Allow building without graphics support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Stefan Weil , Anthony Liguori , qemu-devel@nongnu.org On 12/14/2012 02:07:23 AM, Gerd Hoffmann wrote: > Hi, >=20 > > No, they are with prefix, just not in $PATH. I have more than one > > "powerpc-linux-gnu" toolchain and I don't want to mess with my $PATH > > constantly to choose between them. >=20 > # ls -l /usr/bin/*-gcc > -rwxr-xr-x. 2 root root 264112 Aug 23 2011 =20 > /usr/bin/i686-pc-mingw32-gcc > -rwxr-xr-x. 2 root root 268216 Oct 18 18:24 =20 > /usr/bin/x86_64-redhat-linux-gcc >=20 > I think the second part ("pc" / "redhat") can be choosen pretty freely > when building gcc, so you could name your cross compilers differently, > then have them in PATH and pick by name instead of typing full paths. For the most part I don't build these toolchains, so that's not an =20 option. Plus, I like having each toolchain fully contained in its own =20 directory. And this worked fine before pixman. > > No, it's real name is > > =20 > /home/scott/fsl/tc/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerp= c-linux-gnu-gcc >=20 > ./configure > --cross-prefix=3D/home/scott/fsl/tc/gcc-4.5.55-eglibc-2.11.55/powerpc-lin= ux-gnu/bin/powerpc-linux-gnu- > && make ? A few more options than that, but basically yes. I can get past this particular obstacle by doing something like: (PATH=3D/home/scott/.../powerpc-linux-gnu/bin:"$PATH" ./configure =20 --cross-prefix=3Dpowerpc-linu-gnu- ...) and then (PATH=3D/home/scott/.../powerpc-linux-gnu/bin:"$PATH" make) ...but then I run into the problem that --extra-cflags and =20 --extra-ldflags don't get passed into pixman. -Scott=