File: INSTALL

package info (click to toggle)
mmx-emu 0.6-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 340 kB
  • ctags: 298
  • sloc: ansic: 2,125; makefile: 150; sh: 16
file content (25 lines) | stat: -rw-r--r-- 723 bytes parent folder | download | duplicates (3)
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
"make"		builds libmmxemu.so
"make test"	builds and runs the test-suite
"make clean"	cleans up the source tree.


After the built, only libmmxemu.so is needed, you can remove everything else.
To make it work on the program "program", just type:

LD_PRELOAD=/the/path/of/libmmxemu.so  program

Defining the following variable:	does the following action:

MMX_EMU_NO_LOOK_AHEAD			emulate one instruction at a time
					(useful for debugging)

MMX_EMU_NO_CYRIX_EMMX			do not emulate the Cyrix EMMX
					instructions (the default is to emulate
					them too)

MMX_EMU_NO_AMD_3DNOW			same thing for AMD's 3DNow! instruction
					set


You can also use the script "mmx-emu.sh" (edit it first), and simply type:
mmx-emu.sh program