Re: Linux big endian?

1999-12-10 Thread Mayhem & Chaos Coordinator

Depends on which platform Linux is running on. If it runs on Intel its one
way (I forget which is which -- I'm lysdexic) and if it runs on a PPC its
the other way. In other words, Linux does not abstract out the endianess of
the host machine.


--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert
- Original Message -
From: Jason A. Bobier <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 10, 1999 4:04 PM
Subject: Linux big endian?


> In porting to the Mac, I noticed that Isaac's BMP code converts the
> endianness as it is reading the BMP file. Does this mean the Linux is
> Big Endian? Or am I just reading this incorrectly.
>
> Jason
> --
> Jason A. Bobier [EMAIL PROTECTED]
> Senior Software Engineerhttp://www.prismatix.com/
> Network Associates, Inc.Nothing's constant
>
> PGPKey: 
> Fingerprint: 7809 7E6E BCCA 903D 4618  9740 EB10 9DF9 F6F8 3318
>
> It's hard to pull yourself up by your bootstraps if your feet are bare.
>
> ___
> [EMAIL PROTECTED]
> http://www.freeamp.org/mailman/listinfo/freeamp-dev
>


___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Linux big endian?

1999-12-10 Thread Ben Gertzfield

> "Jason" == Jason A Bobier <[EMAIL PROTECTED]> writes:

Jason> In porting to the Mac, I noticed that Isaac's BMP code
Jason> converts the endianness as it is reading the BMP file. Does
Jason> this mean the Linux is Big Endian? Or am I just reading
Jason> this incorrectly.

It depends on the processor. Some processors are big-endian, others
are little-endian. Solaris x86 is (I would hope) little-endian,
although Solaris SPARC is big-endian.

-- 
Brought to you by the letters R and H and the number 18.
"Sculch is junk."
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev