I tried using the gcc-3.3 that comes with Xcode 2.4. I don't have
Leopard and so cannot try Xcode 3.0. It did not work on my intel
mac. Also tried downloading gcc-3.3 and recompiling with
configure --enable-languages=c --prefix=blah/blah
make bootstrap
This fails.
My (limited) web searches indicated that Apple no longer supports
gcc-3.3. Something to do with ABI. I didn't delve. If anyone has
succeeded in compiling and running qemu on intel mac with either the
gcc-3.3 that comes with it or with a gcc-3.3 they themselves
compiled, I'd love to hear about it.
On Oct 31, 2007, at 3:29 PM, Heikki Lindholm wrote:
Tim Leek kirjoitti:
Okay I'm having another go at you folk. Again, please feel free to
shunt me off in the proper direction when I get annoying.
According to Andreas, intel macs can't compile the QEMU source as-is.
I'd need to use Q which only works because it has been patched
to accommodate gcc-4. I've tried this and it works. A script
applies a
bunch of patches and the resulting Q app works properly.
But I am a little worried about working with a forked source
tree. We
are building instrumentation for computer security research that will
sit on top of QEMU. Thus, we'd like to have it as close and
compatible
as possible to the original QEMU source.
What exactly is the problem building a darwin x86 gcc-3.4? I have
built
a darwin gcc x86 cross-compiler on a ppc host, which seems to create
sane-looking executables, but have no intel mac, so...
-- Heikki Lindholm