Difference between revisions of "Getting Started"

From Sniper
Jump to navigation Jump to search
Line 33: Line 33:
* A recent Pin version (for example, [http://www.pintool.org/downloads.html 2.10-43611] or newer)
* A recent Pin version (for example, [http://www.pintool.org/downloads.html 2.10-43611] or newer)
* Boost 1.38+
* Boost 1.38+
* Linux 2.6.22 (FUTEX_PRIVATE_FLAG support)
* Linux 2.6.22

Revision as of 19:32, 25 July 2012

  • Get the Sniper source code from our Download page
  • 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
  • Optional: Set target architecture
    • export TARGET_ARCH=ia32 # default: intel64 (or update Makefile.config)
  • 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
    • cd test/fft; make run

Next steps


  • GCC 4.3 or higher
  • A recent Pin version (for example, 2.10-43611 or newer)
  • Boost 1.38+
  • Linux 2.6.22