0
点赞
收藏
分享

微信扫一扫

JDK默认是little-endian

窗外路过了谁 2022-01-27 阅读 67


今天编译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


举报

相关推荐

0 条评论