From owner-freebsd-questions@FreeBSD.ORG Thu Jul 14 18:20:29 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 A080316A41C for ; Thu, 14 Jul 2005 18:20:29 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from opusnet.com (mail.opusnet.com [209.210.200.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4137343D45 for ; Thu, 14 Jul 2005 18:20:29 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localdomain [70.98.247.55] by opusnet.com with ESMTP (SMTPD32-8.05) id ACE93DD00A4; Thu, 14 Jul 2005 11:20:25 -0700 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.13.3/8.13.3) with ESMTP id j6EIL3cX050630 for ; Thu, 14 Jul 2005 11:21:03 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localdomain (8.13.3/8.13.3/Submit) id j6EIKwcf050629; Thu, 14 Jul 2005 11:20:58 -0700 (PDT) (envelope-from garys@opusnet.com) To: freebsd-questions@freebsd.org References: <56br56vyrs.r56@mail.opusnet.com> From: garys@opusnet.com (Gary W. Swearingen) Date: Thu, 14 Jul 2005 11:20:57 -0700 In-Reply-To: <56br56vyrs.r56@mail.opusnet.com> (Gary W. Swearingen's message of "Wed, 13 Jul 2005 20:42:47 -0700") Message-ID: <098y09fdva.y09@mail.opusnet.com> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: How do I build i386 arch on Athlon 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: Thu, 14 Jul 2005 18:20:29 -0000 I finally found a clue right there in /usr/src/Makefile, where it talks about "TARGET_ARCH". But when I used it with i386, it seemed to be compiling for the default gcc (386, I suppose), even when I had CPUTYPE=athlon-xp in "/etc/make.conf". This seems to be doing the job (though it's still building): make TARGET_ARCH=i386 TARGET_CPUTYPE=athlon-xp