Difference between revisions of "Getting Started"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
* [[Accessing simulator hooks from inside an application]] | * [[Accessing simulator hooks from inside an application]] | ||
+ | |||
+ | === Prerequisites === | ||
+ | |||
+ | * GCC 4.3 | ||
+ | * A recent Pin version ([http://www.pintool.org/downloads.html 2.10-43611] as of Nov 2011) |
Revision as of 19:02, 15 November 2011
- Download the Sniper source code from ...
git clone ...
- Download the latest Pin kit from the Pin downloads page
- Extract Pin into sniper/pin_kit
- Or set PIN_HOME to the location of Pin if you use a different directory or shared Pin location
- Compile Sniper. Some extra dependencies (a pre-compiled copy of the Python interpreter environment) will be downloaded automatically, so make sure you have a working internet connection when you make Sniper for the first time
make
- Running an application
./run-sniper -- echo hello
cd test/fft; make run
Next steps
Prerequisites
- GCC 4.3
- A recent Pin version (2.10-43611 as of Nov 2011)