mips embedded platform how to
David Holmes
david.holmes at oracle.com
Fri Oct 14 02:47:21 UTC 2016
On 14/10/2016 11:54 AM, Diaz Soho wrote:
> hi ,
>
> even I set the configure option --with-jvm-variants=zero
> --with-target-bits=32, and --openjdk-target=mips-linux, then
> I still get the message "error: unsupported cpu mips"
>
> does anyone have idea why zero vm can not accept?
It isn't zero that can't accept it, it is the build system checking for
supported platforms. You need to edit common/autoconf/platform.m4 to add
MIPS and regenerate the autogenerated_configure.sh file to get past that.
David
>
>
> 2016-10-14 6:15 GMT+08:00 David Holmes <david.holmes at oracle.com>:
>> On 14/10/2016 12:30 AM, Diaz Soho wrote:
>>>
>>> hi,
>>> if I just like to use jdk only, then does it still have cpu arch depend?
>>
>>
>> While there is unlikely to be any CPU dependent code in the non-hotspot
>> sources, you can't just take the 'jdk' (by which I presume you mean rt.jar)
>> and use it with some other VM. A JDK is rt.jar+hotspot - they don't work
>> independently.
>>
>> David
>>
>>> where is the code that is cpu arch depend except hotspot?
>>>
>>> 2016-10-13 22:00 GMT+08:00 dalibor topic <dalibor.topic at oracle.com>:
>>>>
>>>> Please see
>>>>
>>>> http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/file/b0f2296a0bc8/src/os_cpu
>>>> for a list of HotSpot ports in the JDK 8 Updates Project's source code
>>>> tree.
>>>>
>>>> cheers,
>>>> dalibor topic
>>>>
>>>> On 13.10.2016 15:17, Diaz Soho wrote:
>>>>>
>>>>>
>>>>> Hi ,
>>>>>
>>>>> then which cpu platform supported by JDK 8 Updates Project?
>>>>>
>>>>> 2016-10-13 21:13 GMT+08:00 dalibor topic <dalibor.topic at oracle.com>:
>>>>>>
>>>>>>
>>>>>> On 13.10.2016 14:51, Diaz Soho wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> I am new in openJDK for mips embedded platform. I can not find any
>>>>>>> solution about running configure script for cross-compile mips cpu
>>>>>>> platform. Does anyone have idea?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> there is no specific MIPS port in JDK 8 Updates Project. You might be
>>>>>> able
>>>>>> to build the zero interpreter engine for your platform instead.
>>>>>>
>>>>>> Please see
>>>>>> http://hg.openjdk.java.net/jdk8u/build/raw-file/tip/README-builds.html
>>>>>> for
>>>>>> details.
>>>>>>
>>>>>> cheers,
>>>>>> dalibor topic
>>>>>> --
>>>>>> <http://www.oracle.com> Dalibor Topic | Principal Product Manager
>>>>>> Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
>>>>>> <tel:+491737185961>
>>>>>>
>>>>>> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
>>>>>>
>>>>>> ORACLE Deutschland B.V. & Co. KG
>>>>>> Hauptverwaltung: Riesstr. 25, D-80992 München
>>>>>> Registergericht: Amtsgericht München, HRA 95603
>>>>>>
>>>>>> Komplementärin: ORACLE Deutschland Verwaltung B.V.
>>>>>> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
>>>>>> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
>>>>>> Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
>>>>>>
>>>>>> <http://www.oracle.com/commitment> Oracle is committed to developing
>>>>>> practices and products that help protect the environment
>>>>
>>>>
>>>>
>>>> --
>>>> <http://www.oracle.com> Dalibor Topic | Principal Product Manager
>>>> Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
>>>> <tel:+491737185961>
>>>>
>>>> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
>>>>
>>>> ORACLE Deutschland B.V. & Co. KG
>>>> Hauptverwaltung: Riesstr. 25, D-80992 München
>>>> Registergericht: Amtsgericht München, HRA 95603
>>>>
>>>> Komplementärin: ORACLE Deutschland Verwaltung B.V.
>>>> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
>>>> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
>>>> Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
>>>>
>>>> <http://www.oracle.com/commitment> Oracle is committed to developing
>>>> practices and products that help protect the environment
More information about the jdk8u-dev
mailing list