From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MKbmg-0007bC-LH for garchives@archives.gentoo.org; Sat, 27 Jun 2009 17:33:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47029E064E; Sat, 27 Jun 2009 17:33:49 +0000 (UTC) Received: from mail.osagesoftware.com (osagesoftware.com [216.144.204.42]) by pigeon.gentoo.org (Postfix) with ESMTP id 23921E064E for ; Sat, 27 Jun 2009 17:33:49 +0000 (UTC) Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10]) by mail.osagesoftware.com (Postfix) with ESMTP id 6F8F27BC6C for ; Sat, 27 Jun 2009 13:33:48 -0400 (EDT) Date: Sat, 27 Jun 2009 13:33:48 -0400 From: David Relson To: gentoo-user Subject: [gentoo-user] kernel cross compilation Message-ID: <20090627133348.711a0d01@osage.osagesoftware.com> Organization: Osage Software Systems, Inc. X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 255be4b6-0a74-4ac2-9991-bcced68d06be X-Archives-Hash: 5410dce66414e49c734ce99af7a6728f My workstation is an AMD64 and I want to build a 486 kernel. I've tried oldconfig, menuconfig, and xconfig and they all change the .config from X86_32 to X86_64. How do I stop this behavior? FWIW, below is a partial diff between the 486 .config and the new config. Thanks. David root@osage linux # diff -u .config.old .config --- .config.old 2009-04-15 18:47:58.000000000 -0400 +++ .config 2009-06-27 13:26:53.000000000 -0400 @@ -1,18 +1,19 @@ # # Automatically generated make config: don't edit -# Linux kernel version: 2.6.27 -# Wed Apr 15 18:47:58 2009 +# Linux kernel version: 2.6.27.25 +# Sat Jun 27 13:26:53 2009 # -# CONFIG_64BIT is not set -CONFIG_X86_32=y -# CONFIG_X86_64 is not set +CONFIG_64BIT=y +# CONFIG_X86_32 is not set +CONFIG_X86_64=y CONFIG_X86=y -CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" +CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" # CONFIG_GENERIC_LOCKBREAK is not set ...