Skip to contentSkip to conversation

ppc64: Fix PER_LINUX32 behaviour

PATCH Marcus Meissner 1 participant 1 message Jun 8, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20050608.121950.104038734.davem@davemloft.net.suse.lists.linux.kernel

#1 lore raw
Quoted 9 lines · In article <20050608.121950.104038734.davem@davemloft.net.suse.lists.linux.kern…

From: Arnd Bergmann <[email protected]>
Date: Wed, 8 Jun 2005 20:49:48 +0200

Quoted 5 lines

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.

Quoted 3 lines

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