|
From: | C.W. Betts |
Subject: | [Qemu-devel] compiling on PPC doesn't work |
Date: | Sun, 25 May 2008 21:48:08 -0600 |
Due to the fact that there is now a PowerPC tcg host, I tried to make the i386 and sparc guests. I am building it on an Intel Mac, but I doubt that's the problem (although it took me awhile to figure out how to make PPC apps on i386 comps without using a --build configure argument). However, I got the following error when trying to compile the apic.c file on i386: gcc -I. -I.. -I/Users/username/makestuff/qemu-svn/target-i386 -I/Users/username/makestuff/qemu-svn -MMD -MP -DNEED_CPU_H -D__powerpc__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/Users/username/makestuff/qemu-svn/tcg -I/Users/username/makestuff/qemu-svn/tcg/ppc -I/Users/username/makestuff/qemu-svn/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/Users/username/makestuff/qemu-svn/slirp -Wall -O2 -g -fno-strict-aliasing -mdynamic-no-pic -m32 -arch ppc -c -o apic.o /Users/username/makestuff/qemu-svn/hw/apic.c /var/folders/zN/zNzLfd+VH20MiY73gvxNNk+++TI/-Tmp-//cc4FQRDT.s:151:Invalid mnemonic 'bsr' /var/folders/zN/zNzLfd+VH20MiY73gvxNNk+++TI/-Tmp-//cc4FQRDT.s:1458:Invalid mnemonic 'bsf' make[1]: *** [apic.o] Error 1 make: *** [subdir-i386-softmmu] Error 2 The sparc platform compiled and linked without a problem, as well as the rest of the files. |
[Prev in Thread] | Current Thread | [Next in Thread] |