Code Select
(set 'files '(
"/usr/lib/libgmp.dylib" ; Mac OSX
[...]
"libgmp-3.dll" ; Win32 in Path))
(set 'library (files (or
(find true (map file? files))
(begin (println "cannot find GMP library") (exit)))))
On windows this piece of code will always fail.