From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 09:10:56 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A568F16A41F for ; Mon, 5 Dec 2005 09:10:56 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7714443D53 for ; Mon, 5 Dec 2005 09:10:45 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id jB59AfqV068135; Mon, 5 Dec 2005 01:10:41 -0800 (PST) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id jB59AeOZ068134; Mon, 5 Dec 2005 01:10:40 -0800 (PST) (envelope-from obrien) Date: Mon, 5 Dec 2005 01:10:40 -0800 From: "David O'Brien" To: "Guillaume R." Message-ID: <20051205091040.GB68024@dragon.NUXI.org> References: <20051204184826.D1077@ganymede.hub.org> <20051205030253.GC62285@dragon.NUXI.org> <7ab0fd580512042313k15a93166i@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7ab0fd580512042313k15a93166i@mail.gmail.com> X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: A stupid 64bit question ... but ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 09:10:56 -0000 On Mon, Dec 05, 2005 at 08:13:50AM +0100, Guillaume R. wrote: > 2005/12/5, David O'Brien : > > On Sun, Dec 04, 2005 at 06:50:55PM -0400, Marc G. Fournier wrote: > > > > > > I recently bought a new Intel Xeon server, and when I put it together, I > > > didn't realize that the newer Xeon's were 64bit ... now, I've just built > > > perl 5.8.7, and its reporting: > > > > > > ================= > > > # perl -v > > > This is perl, v5.8.7 built for i386-freebsd-64int > > .. > > > I realize that this may be a stupid question, but am I correct in that > > > *this* is a 64bit machine, and I should be enabling the AMD64 stuff on > > > her? > > > > Perl won't be reporting a 64-bit capable machine, when running a 32-bit > > OS. Look in /var/run/dmesg for 'AMD Features' to report 'LM' (long > > mode). > > Lo > So why there is a 64int? We can suppose that perl has seen that Marc's proc > is a 64 one no? > I asked that cause I got a 64bits (amd) which run on a 32 bits mode and I > got oftenly such "i386-freebsd-64amd" > ++ I'm not a perl expert - but maybe ints in perl actually are 64-bit. Just because an x86 has only 32-bit wide regs, doesn't mean it cannot do 64-bit math. :-) -- -- David (obrien@FreeBSD.org) Q: Because it reverses the logical flow of conversation. A: Why is top-posting (putting a reply at the top of the message) frowned upon?