Re: [PATCH] ppc64: Fix PER_LINUX32 behaviour

From: Marcus Meissner
Date: Wed Jun 08 2005 - 15:52:51 EST


In article <20050608.121950.104038734.davem@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
> Date: Wed, 8 Jun 2005 20:49:48 +0200
>
>> With the LINUX32 personality, you can build 32 bit binaries through
>> autoconf, rpmbuild, or the kernel without pretending to be
>> cross-compiling. It may not be the best solution, but people seem to
>> rely on it and the patch brings ppc64 in line with how it works on
>> the other architectures.
>
> I totally agree, this has a large precedence on many platforms
> and there are even gcc frontends that check the uname output
> to decide what code model to output by default.

Actually what you then do (which is the standard way) is

powerpc32 bash --login

which gives you a shell with 32bit personality and work from
this.

Ciao, Marcus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/