Difference between revisions of "Getting Started"
Jump to navigation
Jump to search
(Created page with "* Download the Sniper source code from ... git clone ... * Download the latest Pin kit from the [http://www.pintool.org/downloads.html Pin downloads] page ** Extract Pin into ...") |
|||
Line 1: | Line 1: | ||
* Download the Sniper source code from ... | * Download the Sniper source code from ... | ||
− | + | ** <code>git clone ...</code> | |
* Download the latest Pin kit from the [http://www.pintool.org/downloads.html Pin downloads] page | * Download the latest Pin kit from the [http://www.pintool.org/downloads.html Pin downloads] page | ||
Line 7: | Line 7: | ||
* 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 | * 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 | ||
− | + | ** <code>make</code> | |
+ | |||
+ | * Running an application | ||
+ | ** <code>./run-sniper -- echo hello</code> | ||
+ | ** <code>cd test/fft; make run</code> |
Revision as of 11:55, 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