64-bit requirement
Weijun Wang
weijun.wang at oracle.com
Sun Jan 23 18:46:22 PST 2011
I removed soylatte from my system. Using the Mac Java is probably the biggest reason I switched from bsd-ort to macosx-port.
Thanks
Weijun
On Jan 24, 2011, at 10:37 AM, Michael Hall wrote:
>
> On Jan 23, 2011, at 8:26 PM, Weijun Wang wrote:
>
>> This is my command, no redefinition of ARCH or CC or CXX:
>>
>> make \
>> ALLOW_DOWNLOADS=true \
>> SA_APPLE_BOOT_JAVA=true \
>> ALWAYS_PASS_TEST_GAMMA=true \
>> ALT_BOOTDIR=`/usr/libexec/java_home -v 1.6`
>
> If this skips the gamma tests it might get past that.
>
> The SA_APPLE_BOOT_JAVA is a new one on me.
>
> The others I have except I bootstrap off of Soylatte as I did for bsd-port.
>
>>
>> On the other hand, I made changes in hotspot and jdk's makefiles to remove some appearances of "64" words. In fact, no matter what ARCH you specify, the original build process always tries to make both 32 bit and 64 bit.
>>
>> FYI, below are my diffs. I certainly know they are only workarounds for my 32 bit Core Duo MacBook, and should never be applied on any other platforms.
>>
> OK I guess. Same as my MacBook.
>
> My buid if anyone sees anything it does wrong.
>
> env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin \
> CC=gcc-4.0 \
> CXX=g++-4.0 \
> LANG=C \
> make \
> ALLOW_DOWNLOADS=true \
> ARCH=x86 \
> ARCH_DATA_MODEL=32 \
> ALT_BOOTDIR=/Volumes/mbvol/soylatte16-i386-1.0.3 \
> ALT_JDK_IMPORT_PATH=/Volumes/mbvol/soylatte16-i386-1.0.3 \
> JAVA_TOOLS_DIR=/Volumes/mbvol/soylatte16-i386-1.0.3 \
> ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \
> ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \
> ALT_CUPS_HEADERS_PATH=/usr/include \
> ANT_HOME=/usr/share/ant \
> NO_DOCS=true
>
> JAVA_HOME preset to soylatte.
More information about the macosx-port-dev
mailing list