RdRand Library
Building

Building the Rdrand Library is supported under Microsoft* Visual Studio 2010* and under Linux using Intel(r) C++ Compiler v12. The reason behind this is that library was written using compiler intrinsics only available in the Intel(r) C++ Compiler v12.

To build the library, open the rdrand Microsoft* Visual Studio* solution (rdrand.sln), make sure that "Use Intel C/C++ Compiler" is enabled under the Intel(r) C++ Composer XE context menu context menu, and build the project as normal, from the build menu. Included are two projects, rdrand the actual library and test, the demonstration program.

On Linux a Makefile is include to demonstrate the commands useful in building the static library but also using the host CC (tested against GCC 4.4.3) to link against the generated library to produce an executable. Targets 32 and 64 build the static library for 32 and 64-bits respectively. Also available is a clean target and 32_test and test, which build the demonstration program, again for 32 and 64-bits respectively.

Copyright(C) 2012 Intel Corporation. All rights reserved.

* Other names and brands may be claimed as the property of others