SuSE 10
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
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