i'm lost
Closed this issue · 2 comments
so i've grabbed g++4.9 and managed to make (i think) the application.
I have successfully generated the libdiehard.so in src/ dir ...
however I'm trying to locate the diehard binary it should have generated as well, and I'm coming up short. . .
any advice you can offer at least where the binary is expected would be helpful?
g++-4.9 -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -pthread -pipe -DNDEBUG -std=c++11 -W -Wall -O3 -DNDEBUG -pipe -fPIC -m64 -march=nocona -ffast-math -g -I. -Iinclude -Iinclude/layers -Iinclude/util -Iinclude/math -Iinclude/static -Iinclude/rng -Iinclude/hoard -Iinclude/superblocks -IHeap-Layers -DDIEHARD_DIEHARDER=0 -D_REENTRANT=1 -DDIEHARD_MULTITHREADED=1 -shared -D'CUSTOM_PREFIX(x)=diehard##x' Heap-Layers/wrappers/gnuwrapper.cpp source/libdieharder.cpp -Bsymbolic -o libdiehard.so -ldl -lpthrea
DieHard and friends are libraries, not applications. You can use them either by linking with your binary or by setting the appropriate environment variable, as in:
% setenv LD_PRELOAD /path/to/diehard/libdiehard.so
or
% export LD_PRELOAD=/path/to/diehard/libdiehard.so
awesome. thank you for the push in the right direction :)