Skip to contentSkip to conversation

SuSE 10

Qemu-devel Christian Bourque 2 participants 2 messages Oct 10, 2005 – Nov 13, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi, Christian. The way to do this is to download gcc-3.3.4.tar.gz <ftp://ftp/gnu/org/gnu/gcc/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

Quoted 17 lines

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
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel