From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 11:21:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B15761065674 for ; Thu, 26 Jun 2008 11:21:01 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 7B29A8FC17 for ; Thu, 26 Jun 2008 11:21:01 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from localhost (unknown [198.144.37.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 904EAEBC08; Thu, 26 Jun 2008 07:21:00 -0400 (EDT) Date: Thu, 26 Jun 2008 07:21:36 -0400 From: Bill Moran To: "Sandra Kachelmann" Message-Id: <20080626072136.331f5d26.wmoran@potentialtech.com> In-Reply-To: <91b92520806260356id3c9a2bxa50b0814c12ec7dc@mail.gmail.com> References: <91b92520806260356id3c9a2bxa50b0814c12ec7dc@mail.gmail.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Is FreeBSD i386 64bit? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 11:21:01 -0000 On Thu, 26 Jun 2008 12:56:06 +0200 "Sandra Kachelmann" wrote: > Coming from the Linux world I am pretty new to FreeBSD, please bare with me. > I find the FreeBSD handbook pretty useful and I just managed to update > 7.0-RELEASE to 7-STABLE from source. I have an Intel core4quad CPU and was > wondering if I now have a 64bit FreeBSD. I am a bit confused because from > /usr/src/sys/ I only see the directories amd64, ia64 and sparc64 with the > number 64 in it. The source tree has the code for both the i386 (32-bit) and various 64-bit OS in it. So the source tree can be used to compile the 64-bit version, but it doesn't give you any indication of what version you actually have installed. The output of 'uname -a' will tell you what your currently running system is. If it says i386, then you're running the 32-bit version, if it says amd64, you're running the 64-bit version. Note that Intel chips use amd64, despite the fact that it has AMD in the name. > Another question, is setting CPUTYPE advised or discouraged? I am aware > about problems if you mix binaries built with different CPU flags; not a > problem for me because coming from Gentoo I am used to build everything > myself. I've never had any trouble setting CPUTYPE, unless I set it to an incorrect value.