From owner-FreeBSD-users-jp@jp.freebsd.org  Sun Jan 28 22:43:16 1996
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3)
	id WAA18312; Sun, 28 Jan 1996 22:43:16 +0900 (JST)
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) with SMTP
	id WAA18307; Sun, 28 Jan 1996 22:43:14 +0900 (JST)
From: MAP5326@mapletown.or.jp
Received: from uucp2.iij.ad.jp (uucp2.iij.ad.jp [192.244.176.74]) by mail0.iij.ad.jp (8.6.12+2.4W/3.3W9-MAIL) with ESMTP id WAA09603 for <FreeBSD-users-jp@jp.freebsd.org>; Sun, 28 Jan 1996 22:28:24 +0900
Received: (from uucp@localhost) by uucp2.iij.ad.jp (8.6.12+2.4W/3.3W9-UUCP) with UUCP id WAA03635 for FreeBSD-users-jp@jp.freebsd.org; Sun, 28 Jan 1996 22:28:23 +0900
Received: (from maple@localhost) by maple.mapletown.or.jp (8.6.12+2.5Wb7+Maple/3.4Wbeta6-uucp) id UAA22923; Sun, 28 Jan 1996 20:57:31 +0900
Message-Id: <199601281157.UAA22923@maple.mapletown.or.jp>
Date: Sun, 28 Jan 1996 20:57:17 +0900
To: FreeBSD-users-jp@jp.freebsd.org
Reply-To: FreeBSD-users-jp@jp.freebsd.org
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 35
Subject: [FreeBSD-users-jp 35] Re: [Q] byte-order of perl
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B5?LdI92r$7$^$7$?!#<+8J%l%9$G$9!#(B

In <199601270927.SAA01522@maple.mapletown.or.jp>,
  MAP5326@mapletown.or.jp wrote:

> > #define BYTEORDER 0x1234		/**/
> 
> Intel$B$N(B80x86$B7O(BCPU$B$N>l9g!"$3$NDj5A$G$h$$$N$G$7$g$&$+!#(B
> $B%j%H%k!&%(%s%G%#%"%s$J$i(B0x3412$B$,@5$7$$$s$8$c$J$$$+!"$H$D$$9M$($F(B
> $B$7$^$&$N$G$9$,!"<B:]$I$&$J$N$G$7$g$&(B?

perl$B$N%*%j%8%J%k:-Jq$rE83+$7!"(B./Configure$B$7$F$_$^$7$?!#(B

$ In the following, larger digits indicate more significance.  A big-endian
$ machine like a Pyramid or a Motorola 680?0 chip will come out to 4321.  A
$ little-endian machine like a Vax or an Intel 80?86 chip would be 1234.  Other

$B$H$$$&$3$H$G!"(BIntel$B7O(BCPU$B$N>l9g!"(B0x1234$B$G$h$$$h$&$G$9!#<B:]$K:n@.(B
$B$5$l$?(Bconfig.h$B$G$b$=$&Dj5A$5$l$F$$$^$7$?!#(B

$BLZB<@.0l(B MAP5326@mapletown.or.jp

