Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NIST Statistical Test Suite

Tags:

makefile

I have downloaded NIST Statistical Test Suite version 2.1.2 from nist website. The package contains a makefile. How to compile the project (makefile) on windows?

like image 469
R. Sam Avatar asked Oct 19 '25 17:10

R. Sam


1 Answers

As I have faced the same question, I would like to add my solution. On Windows you can use Cygwin which allows you to compile C language. You can follow the bellow steps:

Installing Cygwin

  1. Let "install root directory" be "c:/cygwin".
  2. Choose the nearest mirror site for download.
  3. Choose packages, and download them. In addition to Default choose (gcc and make) packages.

Running NIST tests

  1. Open Cygwin Terminal.

  2. Navigate to the NIST Statistical Test Suite's folder. Lets say you have unzipped the folders in E drive . Write: cd /cygdrive/E/NIST Now you are in NIST folder

  3. Run the makefile by writing make -f Makefile, this will creates the assess file.

  4. Now run the assess file by writing ./assess 100000 and follow the prompted steps.

like image 64
Mohammed Mohammed Avatar answered Oct 26 '25 17:10

Mohammed Mohammed