Hi Ilya,

I just built from CVS before I zipped up the patches, here is the order I applied them:

#gcc4 patches
patch -p1 -u < ../patches/qemu-0.8.3-gcc4.patch
patch -p1 -u < ../patches/qemu-0.7.2-dyngen-check-stack-clobbers.patch
patch -p1 -u < ../patches/qemu-0.7.2-gcc4-opts.patch
patch -p1 -u < ../patches/qemu-0.8.0-gcc4-hacks.patch

#OS X86 patches
patch -p1 -u < ../patches/qemu-0.8.3-enforce-16byte-stack-boundary.patch
patch -p1 -u -f < ../patches/qemu-0.8.3-i386-FORCE_RET.patch
patch -p1 -u < ../patches/qemu-0.8.3-osx-intel-port.patch

patch -p1 -u < ../patches/qemu-0.8.0-osx-bugfix.patch

notice the force -f for the FORCE_RET patch :).
I had to update the old patches, because of changes like the updated defines for return(). Especially qemu-0.7.0-gcc4.patch does fail to apply because of that and was replaced with qemu-0.8.3-gcc4.patch.

then I configured with
./configure --prefix=../products/i386 --enable-cocoa --enable-adlib -- disable-gcc-check --target-list=i386-softmmu
Jep, I did not test with other targets.

Mike

On 04.02.2007, at 08:37, Ilya Shar wrote:

Hi Mike,

Thanks a lot for the patches.  I applied them
(together with qemu-0.7.0-gcc4.patch, which appears to
be necessary although it's not in the archive you
created) but in the middle of the build dyngen rejects
op.o:

../dyngen -c -o opc.h op.o
dyngen: Unable to replace ret with jmp in
op_bsfl_T0_cc
make[1]: *** [opc.h] Error 1

Did I mess up somewhere or there is something wrong
with the patches?

Thanks again for your help!
Ilya


--- Mike Kronenberg <[EMAIL PROTECTED]> wrote:

Hi,

we have decided to wait for the next qemu release
until we update the
patches for kju, as qemu dev has picked up speed,
which is good.
Never the less, you can grab the patches for qemu
cvs (OS X Intel) here:

http://www.kberg.ch/qemu/cvspatches20070202.zip

Best Regards
Mike

On 03.02.2007, at 08:47, Pierre d'Herbemont wrote:

Hi,

On 3 févr. 07, at 02:37, Ilya Shar wrote:

I am trying to build i386-darwin-user to run it
on an
x86 Mac.  I'm on Mac OS 10.4 Intel with gcc 3.3
and
I'm getting compiler errors right away:

$ cvs


-d:pserver:[EMAIL PROTECTED]:/cvsroot/darwine

Ilya, qemu's CVS has the most up-to-date version
of darwin-user
now, so you should use it intead of the version
which is in the
darwine's cvs. Moreover to compile qemu on intel
you'll need a few
patche. The team behind Q.app has collected them
for you [1]. Also
I am not sure that gcc 3.3 can build Mac Intel
binaries that are
compliant with the current Mac OS X x86 ABI. So
you may also need
the gcc 4.0 patches that you should find in [1].

Pierre.

[1]
http://www.kju-app.org/proj/browser/trunk/patches


_______________________________________________
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






______________________________________________________________________ ______________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091


_______________________________________________
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

Reply via email to