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