Endianess

Hollis Blanchard hollisb at us.ibm.com
Sat Jul 12 01:24:53 EST 2003


On Friday, Jul 11, 2003, at 02:20 US/Central, Raghava Vatsavayi wrote:
>
> How to find the endianess on linux ppc64 machine.
> Any pointers would be helpful.

ppc64 is big endian.

More generally, you can run a test like the one attached, which is
almost exactly what autoconf does.

--
Hollis Blanchard
IBM Linux Technology Center

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ctest.c
Url: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20030711/ffa930ca/attachment.txt 


More information about the Linuxppc64-dev mailing list