
This is a small tool for the 32bit emulation in linux on a 64 bit
architecture that also supports 32 bit.  It allows to execute programs
that need an uname -m of the 32 bit architecture.

Installation:

gcc -o linux32 linux.c
cp linux32 /usr/local/bin
ln /usr/local/bin/linux32 /usr/local/bin/linux64

Syntax: 

linux32 <program> [arguments...] 

Run program with uname -m the 32 bit architectuer name.  On an x86_64
and ia64 it will return i686.

linux64 <program> [arguments...]

Run program with uname -m output as the default value.

The uname -m is inherited to all childs of programs, but doesn't affect
the current shell or processes above it in the process hierarchy. 
Needs a fairly recent CVS kernel as of 2002-05-01.

-Andi Kleen
