Find out how to run gcc 3.x if you have it installed, e.g., on mine (Mac OS X), gcc-3.3 does it, then:

./configure --cc=gcc-3.3

This seems to be enough (HOST_CC left as gcc doesn't break anything but it may be safer to set that too as 3.x).

On 02/11/2005, at 10:00 AM, Karl Magdsick wrote:

gcc 4.x is known not to compile qemu, due to a register allocation bug in gcc.

Also, the current qemu code generator is an ugly hack that relies on some specifics of gcc 3.x function implementation. There is work being done
on a _real_ code generator for qemu.


-Karl

On 11/1/05, Julien Lancien <[EMAIL PROTECTED]> wrote:
Hi,

I am unable to compile qemu on my machine :p. I've attached the result
of the configure and make.

My gcc version is: 4.0.3 20051006 and kernel 2.6.13 vanilla.

I used the CVS snapshot, but I got mostly the same problem with the
0.7.2 version.
Tell me if you want more infos, and thanks for any help.


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






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



Philip Machanick School of ITEE, University of Queensland Brisbane, Qld 4072, Australia http://www.itee.uq.edu.au/ ~philip/ phone +61(7) 3365 2766 fax +61(7) 3365 4999 mailto:[EMAIL PROTECTED]




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

Reply via email to