Cc: Alistair John Strachan <alistair@...>, Linus Torvalds <torvalds@...>, Linux Kernel Mailing List <linux-kernel@...>, Andi Kleen <ak@...>, Thomas Gleixner <tglx@...>, Sam Ravnborg <sam@...>, Andrew Morton <akpm@...>
* Glauber de Oliveira Costa <glommer@gmail.com> wrote:
there are two problems with the use of uname -m:
- the build machine architecture is not necessarily the same as the
target architecture. (for example i cross-compile all my 32-bit
kernels on a 64-bit box.)
- we kept uname -m compatile. multilib depends on it, and other pieces
of userspace as well. So uname -m still outputs 'i386' on 32-bit and
'x86_64' on 64-bit - not 'x86'.
a symlink looks like the best solution to me.
Ingo
-