File: README

package info (click to toggle)
linux32 1-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 36 kB
  • ctags: 12
  • sloc: makefile: 55; ansic: 42
file content (27 lines) | stat: -rw-r--r-- 742 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

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