JDK默认是little-endian

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/quantum7/article/details/102742982

今天编译ARM的OPENJDK,下载了一个Big Endian版本:

https://github.com/vascokk/openjdk8-aarch64_be

编译提示错误如下:

checking for target address size... 64 bits
checking whether byte ordering is bigendian... no
configure: error: The tested endian in the target (little) differs from the endian expected to be found in the target (big)
configure exiting with result code 1

由此可见,默认应该是little endian

猜你喜欢

转载自blog.csdn.net/quantum7/article/details/102742982
今日推荐