qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] SuSE 10
@ 2005-10-10 19:33 Christian Bourque
  2005-11-13 17:13 ` Jim Provan
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Bourque @ 2005-10-10 19:33 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] SuSE 10
  2005-10-10 19:33 [Qemu-devel] SuSE 10 Christian Bourque
@ 2005-11-13 17:13 ` Jim Provan
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Provan @ 2005-11-13 17:13 UTC (permalink / raw)
  To: Christian Bourque, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

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

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


[-- Attachment #2: Type: text/html, Size: 1729 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-13 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-10 19:33 [Qemu-devel] SuSE 10 Christian Bourque
2005-11-13 17:13 ` Jim Provan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).