qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversio


From: Andreas Färber
Subject: Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
Date: Fri, 29 Aug 2008 23:12:13 +0200

Hi,

Am 28.08.2008 um 23:17 schrieb Aurelien Jarno:

By the way, patches
for the PPC and Alpha target are also welcome.

I'd be interested in helping with ppc but I have a problem testing such changes: ppc-softmmu does not boot anything, ppc-linux-user does not seem to compile outside Linux and ppc-darwin-user does not compile on OSX either.

Would patches to make linux-user compile on other platforms make sense or is it locked to the platform it emulates?

This is what I get for ppc-darwin-user (using Leopard's gcc 4.0.1):

gcc -I. -I.. -I/Users/andreas/Q/qemu/target-ppc -I/Users/andreas/Q/ qemu -MMD -MT main.o -MP -DNEED_CPU_H -D__powerpc__ -D_GNU_SOURCE - D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/Users/andreas/Q/qemu/tcg - I/Users/andreas/Q/qemu/tcg/ppc -I/Users/andreas/Q/qemu/fpu -I/Users/ andreas/Q/qemu/darwin-user -I/Users/andreas/Q/qemu/darwin-user/ppc - Wall -O2 -g -fno-strict-aliasing -mdynamic-no-pic -c -o main.o /Users/ andreas/Q/qemu/darwin-user/main.c
In file included from /Users/andreas/Q/qemu/darwin-user/qemu.h:9,
                 from /Users/andreas/Q/qemu/darwin-user/main.c:31:
../thunk.h: In function ‘thunk_type_size’:
../thunk.h:104: error: ‘TARGET_ABI_BITS’ undeclared (first use in this function)
../thunk.h:104: error: (Each undeclared identifier is reported only once
../thunk.h:104: error: for each function it appears in.)
../thunk.h: In function ‘thunk_type_align’:
../thunk.h:141: error: ‘TARGET_ABI_BITS’ undeclared (first use in this function)
In file included from /Users/andreas/Q/qemu/darwin-user/main.c:31:
/Users/andreas/Q/qemu/darwin-user/qemu.h: At top level:
/Users/andreas/Q/qemu/darwin-user/qemu.h:100: warning: ‘struct sigaltstack’ declared inside parameter list /Users/andreas/Q/qemu/darwin-user/qemu.h:100: warning: its scope is only this definition or declaration, which is probably not what you want
make[1]: *** [main.o] Error 1

Regards,
Andreas





reply via email to

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