Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* BIG or LOW endian?
@ 2000-08-10  4:00 h0l0gRaM
  2000-08-10  4:00 ` Serguei Patchkovskii
  0 siblings, 1 reply; 12+ messages in thread
From: h0l0gRaM @ 2000-08-10  4:00 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2000-08-12  4:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-10  4:00 BIG or LOW endian? h0l0gRaM
2000-08-10  4:00 ` 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         ` Carlos
2000-08-12  4:00           ` Serguei Patchkovskii
2000-08-12  4:00             ` Carlos
2000-08-12  4:00               ` Ronald Bruck
2000-08-12  4:00           ` Jeff Sturm
2000-08-12  4:00           ` Christopher Browne
2000-08-11  4:00         ` Jeff Donsbach

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