Hi,
supporting Mac OS X on Intel has been a long standing issue. The Q
project has done a fabulous job maintaining patches that make things
work for i386 Mac OS X, but do invasive changes to qemu internals.
This set of patches attempts to make Mac OS X host support as
compatible as possible to the existing Linux host and PowerPC Mac OS X
support. Of course this means, that as long as Linux gcc4 support is
broken, it won't work on Mac OS X either. Nevertheless all changes
necessary to support the binary format (Mach-O) and several other
minor issues that are Mac specific can be easily added to the existing
code base without harming other platforms.
This way people who want to run qemu on Mac OS X only have to maintain
gcc4 patches and no Apple specific ones.
This is version 2 of the patchset, adding support for and removing
parts made obsolete by TCG.
Please comment on these patches. Commits are welcome too.
Regards,
Alex