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



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

Reply via email to