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

From: Jaswinder Singh Rajput
Date: Thu May 27 2010 - 01:23:50 EST


On Thu, May 27, 2010 at 10:01 AM, Américo Wang <xiyou.wangcong@xxxxxxxxx> wrote:
> On Thu, May 27, 2010 at 09:39:51AM +0530, Jaswinder Singh Rajput wrote:
>>
>>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.
>>
>
> It's not compiler, it's kbuild, kbuild tries to determine the arch
> by 'uname -m'.
>

Ahh, then kbuild is buggy, kbuild should check .config instead of
'uname -m' and verify from user if it mismatches.

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/