On Mon, Jul 05, 2010, Loïc Minier wrote:
You could try running "arch" instead.
That doesn't help much actually; it's the same output as uname -m
How about running config.guess and taking the first part?
"gcc -dumpmachine" and "dpkg-architecture -qDEB_HOST_GNU_CPU" would be other options, but less likely to be present.