Mac OS/X Port data Model
Alexander Strange
astrange at apple.com
Tue Jan 11 16:07:16 PST 2011
On Jan 11, 2011, at 5:35 PM, Mike Swingler wrote:
> On Jan 11, 2011, at 12:25 PM, Henri Gomez wrote:
>
>>>> I built it on an iMac with 64bits kernel (x86_64), should I expect
>>>> problems if I try to build with a box on 32bits kernel ?
>>>
>>> No it should build fine on any machine
>>
>> Good.
>
> Actually, there are some components of the JDK build that run during the build and require native architecture (X11 struct offset generation, I believe). That is why we state that building requires an x86_64-capable machine. Building on an i386-only machine can only be expected to produce an i386 binary, but we have not checked that that configuration actually produces a viable build.
A note about X11 here: XToolkit's build process generates Java classes which hardcode the layout of X11 structs in native memory. The generator hasn't been updated to support universal binaries, so the classes assume the build machine's x86-64 layout. This means that XToolkit is nonfunctional when running in 32-bit at the moment.
I've noted this as a caveat on the wiki page.
More information about the macosx-port-dev
mailing list