From owner-freebsd-questions@FreeBSD.ORG Mon Oct 4 21:37:14 2010 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 0507C1065672 for ; Mon, 4 Oct 2010 21:37:14 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9721C8FC0A for ; Mon, 4 Oct 2010 21:37:13 +0000 (UTC) Received: by eyx24 with SMTP id 24so2736046eyx.13 for ; Mon, 04 Oct 2010 14:37:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.113.209 with SMTP id b17mr323749ebq.39.1286228232219; Mon, 04 Oct 2010 14:37:12 -0700 (PDT) Received: by 10.14.29.76 with HTTP; Mon, 4 Oct 2010 14:37:12 -0700 (PDT) X-Originating-IP: [69.91.158.98] In-Reply-To: <4CAA3030.3090001@emailrob.com> References: <4CAA3030.3090001@emailrob.com> Date: Mon, 4 Oct 2010 14:37:12 -0700 Message-ID: From: David Brodbeck To: spellberg_robert Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: fbsd_questions Subject: Re: [fbsd_questions] i386 vs amd64, on intel_64 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: Mon, 04 Oct 2010 21:37:14 -0000 On Mon, Oct 4, 2010 at 12:51 PM, spellberg_robert w= rote: > =A0q: =A0 =A0if i install an "amd64" version on an "intel_64" platform, > =A0 =A0 =A0 =A0 =A0am i restricted to 16 64_bit registers and 48_bit poin= ters or > =A0 =A0 =A0 =A0 =A0can i compile for both cpu_models > =A0 =A0 =A0 =A0 =A0[ perhaps, with nothing more complicated than a compil= er option ] ? Take a look at gcc's -m32 and -m64 options.