Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: h0l0gRaM <hgm@saunalahti.fi>
Subject: BIG or LOW endian?
Date: 2000/08/10	[thread overview]
Message-ID: <3992BB5C.7646E238@saunalahti.fi> (raw)

Now ,this is interesting.
Are Alphas big or low endian machines ?

When I run this perl script :

perl -e '
  if(pack("S", 1) eq pack("n", 1)){
    print "Big-endian\n";
  }
  else{
    print "Little-endian\n";
  }

I get Little-endian ,I supposed that Alphas are big-endian computers
like Sun Sparc's.

Also ,many program's autoconf configure script shows that Alpha is
low-endian.

Computer is Alpha XL300 ,21164(ev5)
Distro is RH 6.0 with some 6.2 updates.

-- 
Reading is thinking with someone else's head instead of one's own.



             reply	other threads:[~2000-08-10  4:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-10  4:00 h0l0gRaM [this message]
2000-08-10  4:00 ` BIG or LOW endian? Serguei Patchkovskii
2000-08-10  4:00   ` Jeff Donsbach
2000-08-11  4:00     ` h0l0gRaM
2000-08-11  4:00       ` Tobias Ernst
2000-08-11  4:00         ` Jeff Donsbach
2000-08-11  4:00         ` Carlos
2000-08-12  4:00           ` Jeff Sturm
2000-08-12  4:00           ` Christopher Browne
2000-08-12  4:00           ` Serguei Patchkovskii
2000-08-12  4:00             ` Carlos
2000-08-12  4:00               ` Ronald Bruck
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox