Search found 2 matches

by bjo
Sun Nov 22, 2009 8:46 am
Forum: newLISP and the O.S.
Topic: A bug on Windows
Replies: 5
Views: 6018

Re: A bug on Windows

The problem is that the gmp module depends on (import)'s behaviour when using (file?) to determine which file to use: (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 librar...
by bjo
Sat Nov 21, 2009 12:03 pm
Forum: newLISP and the O.S.
Topic: A bug on Windows
Replies: 5
Views: 6018

Re: A bug on Windows

On Windows (Vista) the (file?) built-in does not seem to look in any or all PATHs:

Code: Select all

> (file? "libgmp-3.dll")
nil
> (import "libgmp-3.dll" "__gmpz_mul")
__gmpz_mul <1000D880>