CPU features again

Anton Blanchard anton at samba.org
Sun Apr 22 13:03:00 EST 2001



> 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/






More information about the Linuxppc-dev mailing list