building 32bit kernel image from a 64bit OS and 64bit cross-compiler

Submitted by atripathi
on January 27, 2009 - 2:54pm

Hello,

I have a 64bit Linux OS and want to build a 32bit kernel image from it. I have 64bit toolchain. Is there any kernel config option or any compiler option that can be used to build it.

ARCH=i386

Anonymous (not verified)
on
January 27, 2009 - 4:25pm

Just when you do "make" in the kernel source directory always say make ARCH=i386 .... for all make commands, assuming you have the 32-bit cross-compiling stuff.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.