64-bit requirement
Weijun Wang
weijun.wang at oracle.com
Tue Jan 18 21:38:56 PST 2011
Thanks for the answer. I build again and finally get a runnable JRE, but there are still some problems:
1. No matter what ARCH is, the target is always universal.
make/hotspot-rules.gmk:
68 ifeq ($(PLATFORM), macosx)
69 HOTSPOT_TARGET = universal_product
70 endif
jdk/make/common/shared/Platform.gmk:
280 # Darwin x86 builds are i386/amd64 universal.
281 ifeq ($(PLATFORM), macosx)
282 ifneq ($(ARCH), ppc)
283 ARCH=universal
284 endif
285 endif
I have to remove some lines on 64 bit to let hotspot and jdk builds go on.
2. Different path names for 32 bit x86 are used, x86, i386, i586. I have to create some symlinks.
Weijun
On Jan 19, 2011, at 11:13 AM, Alexander Strange wrote:
> Although it hasn't been tested recently, you may be able to compile for 32-bit only using by setting "ARCH=i386 CC=gcc-4.0 CXX=g++-4.0".
>
> Note that basically the only difference between bsd-port and macosx-port at the moment is universal binary support, so the result won't be very interesting anyway.
>
> On Jan 13, 2011, at 11:34 PM, Weijun Wang wrote:
>
>> Will there be any change to this restriction? I only have a 2006 core
>> duo MacBook.
>>
>> Thanks
>> Weijun
>>
>> On 01/12/2011 08:42 AM, Mike Swingler wrote:
>>> On Jan 11, 2011, at 4:29 PM, Michael Hall wrote:
>>>
>>>> Requirements
>>>>
>>>> Hardware: Any 64-bit capable Intel Mac
>>>>
>>>> Does this mean only a 64-bit capable Intel Mac will be able to build this port?
>>>> Or does it mean that only 64-bit capable Intel Mac's will be able to use the JRE?
>>>
>>> A 64-bit Mac is required to build the JDK, however a 32-bit-only Mac will be able to run it.
>>>
>>> Regards,
>>> Mike Swingler
>>> Java Engineering
>>> Apple Inc.
>>>
>>>
>> _______________________________________________
>> macosx-port-dev mailing list
>> macosx-port-dev at openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/macosx-port-dev
>
More information about the macosx-port-dev
mailing list