[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTilZ99VsmLuYoLlYItYAMtQQq6zTOQ2iEAdEm7pk@mail.gmail.com>
Date: Thu, 27 May 2010 10:53:41 +0530
From: Jaswinder Singh Rajput <jaswinderlinux@...il.com>
To: Américo Wang <xiyou.wangcong@...il.com>
Cc: "Rafael J. Wysocki" <rjw@...k.pl>, Sam Ravnborg <sam@...nborg.org>,
Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
"the arch/x86 maintainers" <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: config automatically switches from 32-bit to 64-bit for x86
On Thu, May 27, 2010 at 10:01 AM, Américo Wang <xiyou.wangcong@...il.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists