From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eh1Su-0002we-3I for qemu-devel@nongnu.org; Tue, 29 Nov 2005 04:07:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eh1Sr-0002uF-7y for qemu-devel@nongnu.org; Tue, 29 Nov 2005 04:07:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eh1Sp-0002tl-SB for qemu-devel@nongnu.org; Tue, 29 Nov 2005 04:07:52 -0500 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Eh1So-0003lD-0m for qemu-devel@nongnu.org; Tue, 29 Nov 2005 04:07:50 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Eh1OY-0006KC-BS for qemu-devel@nongnu.org; Tue, 29 Nov 2005 10:03:35 +0100 Received: from vol75-6-82-228-67-28.fbx.proxad.net ([82.228.67.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Nov 2005 10:03:25 +0100 Received: from charpent by vol75-6-82-228-67-28.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Nov 2005 10:03:25 +0100 From: Emmanuel Charpentier Date: Tue, 29 Nov 2005 09:58:06 +0100 Message-ID: References: <20051128165951.GA28507@jbrown.mylinuxbox.org> <20051128223508.GA9087@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <20051128223508.GA9087@nevyn.them.org> Sender: news Subject: [Qemu-devel] Re: Debian blues (Re: Problem compiling with gcc 3.3 on 2.6.14 (Debian)) 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 Daniel Jacobowitz wrote: [ Snip ... ] > [Completely incorrect rant snipped] I wish you were right... Alas, I stand by my words : the attitude of a minority of Debian developpers is on the line of "If it was hard to write, it should be hard to use". Unfortunately, this minority has a serious overlap with the *very good and active* category... Case in point : I distinctly reember reading a convoluted thread in one of the Debian lists about this /etc/alternative issue for gcc... Was I drunk ? Or what ? >>So you're supposed to "ln -s /usr/bin/gcc-3.3 /usr/bin/gcc # etc ...) ad >>nauseam... > > > No, you're bloody well not. You're supposed to configure applications > to use the correct compiler if they need a particular version. For > qemu that's --cc. Not so hard, was it? Didn't work last time I tried : you may do that at *configure* step. In the case of a GCC4 kernel, you have to : - configure and make with gcc 3.3 (--cc=gcc-3.3 goes into config-host.mak. What the host-cc does is fairly well obscur to me (got lost in the Makefile/source code), and was undocumented last time I pored over Fabrice's pages). - make clean in the kemu directory - re-make with GCC 4 : this recompiles only the kqemu part. If you can suggest a more steamlined way, I'd be happy to hear from it, and even more happy to read it on Fabrice's pages or somewhere in the documentation... Emmanuel Charpentier