Subject: Re: CPU features again

From: Anton Blanchard <[email-masked]>
Date: Sat, 21 Apr 2001 20:03:00 -0700

> On a related subject, we're still trying to figure out what to do
> with the "uname -m" thing (ie, ppc vs ppc64) and its use in configure
> scripts, rpm,...

$ uname -m
sparc64

$ ./sparc32 uname -m
sparc

$ cat sparc32.c
int main(int argc, char **argv)
{
        personality(PER_LINUX32);
        execvp(argv[1], &argv[1]);
}

You then build things with sparc32 ./configure etc.

Anton

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/