qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jim Provan <jprovan@win4lin.com>
To: Christian Bourque <christian.bourque@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] SuSE 10
Date: Sun, 13 Nov 2005 11:13:26 -0600	[thread overview]
Message-ID: <43777436.5060803@win4lin.com> (raw)
In-Reply-To: <a6ee49d30510101233x18ccff28ne0a461b3b1a41264@mail.gmail.com>

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

      reply	other threads:[~2005-11-13 17:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-10 19:33 [Qemu-devel] SuSE 10 Christian Bourque
2005-11-13 17:13 ` Jim Provan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43777436.5060803@win4lin.com \
    --to=jprovan@win4lin.com \
    --cc=christian.bourque@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).