Ada-Crypto-Library
Ada-Crypto-Library copied to clipboard
on Cygwin: trying to run any executables in the test directory fails, not finding /dev/random
$ ./test-tests.exe raised ADA.IO_EXCEPTIONS.NAME_ERROR : /dev/random: No such file or directory $ ls -al /dev/random crw-rw-rw- 1 byron None 1, 8 Apr 28 00:57 /dev/random
/dev/random is a Unix only file. The scenario variable "system" allows you to build a windows version that links to advapi32.dll for random numbers. Try, "gnatmake -p libadacrypt.gpr -Xsystem=windows", setting the scenario varible system in GPS, or modifying the System_Type variable in libadacrypt.gpr.