OpenJDK Zero PPC Build on OS X Leopard
annulen at yandex.ru
Thu Sep 8 10:02:59 PDT 2011
08.09.2011, 20:15, "Kurt Miller":
>> An Intel Leopard box should be able to compile a universal binary for both PPC and Intel, but would require explicitly passing -arch flags.
>> The J2SE 5.0 builds on Leopard for ppc, i386, and x86_64 were always made using an Intel builder.
> That's an interesting thought. I'm not sure how both PPC and Intel could be compiled into the same universal binary since ppc uses the Zero hotspot implementation and Intel the JIT implementation. Perhaps an Intel Leopard box could build the PPC/ Zero binaries though using -arch ppc.
I think it would be pointless to prepare universal (PPC+i386) builds of OpenJDK.
1. It will require extra complications in the build system because of different hotspot implementations needed.
2. People on Intel Macs will prefer macosx-port (which AFAIK is incompatible with Mac OS <= 10.5) rather than X11-based bsd-port
3. People usually prefer to have native binaries without unneeded arches.
However, it's possible to build non-fat ppc32 binaries on Intel Macs with OS version up to Snow Leopard. Xcode 4 on Lion is incapable of building ppc binaries.
More information about the bsd-port-dev