Re: config automatically switches from 32-bit to 64-bit for x86

From: Jaswinder Singh Rajput
Date: Thu May 27 2010 - 00:09:56 EST


Hello Rafael,

On Thu, May 27, 2010 at 5:43 AM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> On Thursday 27 May 2010, Jaswinder Singh Rajput wrote:
>> 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.
>
> Try 'linux32 make menuconfig' and 'linux32 make'.
>

Yes, this works :-)

But I wonder then what is the point/use of CONFIG_X86_32 if compiler
is not listening to it.

Logically compiler should set appropriate flags based on .config settings.

Thanks,
--
Jaswinder Singh.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/