qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] compiling qemu-0.7.2 on Solaris express (gcc-3.4.4)


From: Martin Bochnig
Subject: Re: [Qemu-devel] compiling qemu-0.7.2 on Solaris express (gcc-3.4.4)
Date: Mon, 05 Sep 2005 17:55:47 +0200
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20050614

Ben Taylor wrote:

in qemu-0.7.2/hw/apic.c

gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. 
-I/export/src/qemu-05-18-05/test/qemu-0.7.2/target-i386 
-I/export/src/qemu-05-18-05/test/qemu-0.7.2 -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/export/src/qemu-05-18-05/test/qemu-0.7.2/fpu 
-I/export/src/qemu-05-18-05/test/qemu-0.7.2/slirp -c -o apic.o 
/export/src/qemu-05-18-05/test/qemu-0.7.2/hw/apic.c
Assembler: apic.c
       "/var/tmp//ccO3Ifuk.s", line 165 : Illegal mnemonic
       "/var/tmp//ccO3Ifuk.s", line 165 : Syntax error
gmake: *** [apic.o] Error 1


Ideas?


Just use "gnu-as" (often called "gas") instead of SUNW's "/usr/ccs/bin/as" and (a patched) 0.7.2 will also compile on x86, not only on SPARC Solaris. On Solaris10 or 11_nevada it is not required to custom-build gcc for doing so anymore, just use "/usr/sfw/bin/gcc". It will then use gas, but still not gnu-ld.
However, it works.


martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]