From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EbLPO-0001Ev-6r for qemu-devel@nongnu.org; Sun, 13 Nov 2005 12:12:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EbLPM-0001Ej-LR for qemu-devel@nongnu.org; Sun, 13 Nov 2005 12:12:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbLPM-0001Eg-Ha for qemu-devel@nongnu.org; Sun, 13 Nov 2005 12:12:48 -0500 Received: from [216.159.250.175] (helo=td01009.thindesktop.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EbLPM-0000MV-Di for qemu-devel@nongnu.org; Sun, 13 Nov 2005 12:12:48 -0500 Message-ID: <43777436.5060803@win4lin.com> Date: Sun, 13 Nov 2005 11:13:26 -0600 From: Jim Provan MIME-Version: 1.0 Subject: Re: [Qemu-devel] SuSE 10 References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------040303040006050002090005" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Bourque , qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------040303040006050002090005 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Christian. The way to do this is to download gcc-3.3.4.tar.gz from ftp.gnu.org. de-tar it and in the subdirectory that it creates: do a gcc -v to get all the compiled-in options from your current compiler and modify them to be a --prefix=/opt/gcc (you only need gcc, not G++,objc,ada,etc) ./configure .....--prefix=/opt/gcc... make bootstrap su root make install Now, once you have built that compiler, you will need to modify config-host.mak in the qemu source subdirectory. Modify the lines CC= /opt/gcc/bin/gcc & HOST_CC=/opt/gcc/bin/gcc do make clean ./configure --target-list=i386-softmmu make all su root make install This will get you going. Jim Provan >Hi! > >I've just upgraded to SuSE 10.0 and since it's now based on GCC4 I >would like to know if there 's a way to compile QEMU with this >distribution? > >Thanks > >Christian > > >_______________________________________________ >Qemu-devel mailing list >Qemu-devel@nongnu.org >http://lists.nongnu.org/mailman/listinfo/qemu-devel > > --------------040303040006050002090005 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, Christian. The way to do this is to download gcc-3.3.4.tar.gz from ftp.gnu.org.

de-tar it and in the subdirectory that it creates:

do a gcc -v to get all the compiled-in options from your current compiler and modify them to be a --prefix=/opt/gcc (you only need gcc, not G++,objc,ada,etc)

./configure .....--prefix=/opt/gcc...
make bootstrap

su root

make install

Now, once you have built that compiler, you will need to modify config-host.mak in the qemu source subdirectory.

Modify the lines
CC= /opt/gcc/bin/gcc
&
HOST_CC=/opt/gcc/bin/gcc

do

make clean
./configure --target-list=i386-softmmu
make all
su root
make install

This will get you going.

Jim Provan

Hi!

I've just upgraded to SuSE 10.0 and since it's now based on GCC4 I
would like to know if there 's a way to compile QEMU with this
distribution?

Thanks

Christian


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel
  

--------------040303040006050002090005--