2012/12/28 Jonathan Wakely: > Do you mean the files are present on the system where GCC is built, > but not on the system where compiled programs run? Yes, these files are not available not only where executed program built with Mingw, but where Mingw used. Mingw - native windows program. MSYS - POSIX environment emulator. > Fixing the test would be better, but if it's not possible to tell > whether the files are usable until runtime then no preprocessor test > can work. For Mingw not need to check '/dev/random' or/and '/dev/urandom' are available or not. It would be correct to say that these files are always not available. -- Regards, niXman ___________________________________________________ Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows: http://sourceforge.net/projects/mingwbuilds/ ___________________________________________________ Another online IDE: http://liveworkspace.org/