On 2014-03-18 10:58, Lindenmaier, Goetz wrote:
Hi,

it could be done with PPC64_ENDIANNESS check
Yes, that's fine.  I would further propose to choose a neutral name ENDIANESS
and set it for all architectures.  Platform specific variables should be 
avoided in
shared files.  And it's used in ppc64.make, so that should be fine.
Also -DLITTLE_ENDIAN could be set in a shared makefile once for all if there is 
a
variable ENDIANESS.

When using the top-level build from configure, there is a OPENJDK_TARGET_CPU_ENDIAN variable defined already, set to "big" or "little".

I assume that you will need to add support to ppc64le into the top-level and jdk make files as well. Building just hotspot for ppc64le, but not any of the jdk native libraries, does not really make sense.

/Magnus

Reply via email to