public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* config automatically switches from 32-bit to 64-bit for x86
@ 2010-05-27  0:07 Jaswinder Singh Rajput
  2010-05-27  0:13 ` Rafael J. Wysocki
  2010-05-27 15:49 ` Christoph Hellwig
  0 siblings, 2 replies; 24+ messages in thread
From: Jaswinder Singh Rajput @ 2010-05-27  0:07 UTC (permalink / raw)
  To: Sam Ravnborg, Ingo Molnar, Andrew Morton,
	the arch/x86 maintainers, Linux Kernel Mailing List

Hello,

I am trying to build 32 bit kernel image on 64-bit machine but after
'make menuconfig' it automatically switches 32-bit to 64-bit.

Is this a BUG or did intentionally.

How can I fix this issue.


.config (before)
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.34
# Wed May 26 03:40:31 2010
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf32-i386"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
CONFIG_GENERIC_TIME=y

.config (after 'make menuconfig' on 64-bit box)
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.34
# Wed May 26 23:49:18 2010
#
CONFIG_64BIT=y
# CONFIG_X86_32 is not set
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_GENERIC_TIME=y

Thanks,
--
Jaswinder Singh.

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2010-06-06  4:14 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-27  0:07 config automatically switches from 32-bit to 64-bit for x86 Jaswinder Singh Rajput
2010-05-27  0:13 ` Rafael J. Wysocki
2010-05-27  4:09   ` Jaswinder Singh Rajput
2010-05-27  4:31     ` Américo Wang
2010-05-27  5:23       ` Jaswinder Singh Rajput
2010-05-27  9:03         ` Américo Wang
2010-05-27  5:31       ` Randy Dunlap
2010-05-27 16:19         ` Geert Uytterhoeven
2010-05-27 20:21           ` Rafael J. Wysocki
2010-05-27 15:19   ` Matthias Schniedermeyer
2010-05-27 15:49 ` Christoph Hellwig
2010-05-27 16:11   ` Matthias Schniedermeyer
2010-05-27 16:13     ` Christoph Hellwig
2010-05-27 16:35       ` Matthias Schniedermeyer
2010-05-27 18:46   ` Sam Ravnborg
2010-05-27 22:07     ` Jaswinder Singh Rajput
2010-05-29 11:19       ` Sam Ravnborg
2010-05-29 17:19         ` Jaswinder Singh Rajput
2010-06-02  8:20           ` Américo Wang
2010-06-02  8:50             ` Sam Ravnborg
2010-06-03 13:30     ` Michal Marek
2010-06-04  6:23       ` Jaswinder Singh Rajput
2010-06-04  7:53         ` Michal Marek
2010-06-06  4:14           ` Jaswinder Singh Rajput

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox