Mac OS/X Port data Model
Gary Meyer
gary.meyer at apple.com
Tue Jan 11 10:15:35 PST 2011
I hope I'm answering your question here. What Mike checked in is the ability to build universal binaries, which means both 32 bit and 64 bit binaries are built at the same time. Mac OS X has the ability to make binaries (both executables, and object files, etc) with multiple "slices", meaning you can combine a 32 bot binary with a 64 bit binary into one Universal binary. If I'm interpretting your question correctly, there is nothing that needs to be done to build both slices.
Gary.
On Jan 11, 2011, at 6:18 AM, Henri Gomez wrote:
> Hi to all,
>
> First congrats, the OS/X port was more than expected :)
>
> During the build I could see that ARCH_DATA_MODEL is 32 even when
> building it on 64bits machine (uname -m return x86_64) :
>
> Build Platform Settings:
> USER = henri
> PLATFORM = macosx
> ARCH = universal
> LIBARCH = universal
> ARCH_FAMILY = amd64
> ARCH_DATA_MODEL = 32
> ARCHPROP = universal
> OS_VERSION = 10.6.0 [requires at least 8.0]
> OS_VARIANT_NAME =
> OS_VARIANT_VERSION =
> TEMP_FREE_SPACE = 1952591200
> FREE_SPACE = 1952591200
> MB_OF_MEMORY = 2048
>
> GNU Make Settings:
> MAKE = make
> MAKE_VER = 3.81 [requires at least 3.78]
> MAKECMDGOALS = sanity
> MAKEFLAGS =
> SHELL = /bin/sh
>
> Target Build Versions:
> JDK_VERSION = 1.7.0
> MILESTONE = internal
> RELEASE = 1.7.0-internal
> FULL_VERSION = 1.7.0-internal-henri_2011_01_11_15_01-b00
> BUILD_NUMBER = b00
>
> When building OpenJDK 1.7 from openbsd port, I used to produce 32bits
> and 64bits VMs, by specifing in Make parameters, ARCH_DATA_MODEL=32 or
> ARCH_DATA_MODEL=64 ?
>
> Should we do the same now or did the VM will still be in 32/64 mode,
> activable by command line switch ?
> _______________________________________________
> macosx-port-dev mailing list
> macosx-port-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/macosx-port-dev
~~~~~~~~~~~~~~~~~~~~~~~
Gary Meyer
Java Software Build Engineer
gary.meyer at apple.com
More information about the macosx-port-dev
mailing list