2008/2/18, Luís Oliveira <[EMAIL PROTECTED]>: > On 18/02/2008, Reini Urban <[EMAIL PROTECTED]> wrote: > > Luís, cannot this be a bit simplified for :cygwin? > > I've always have to do this. > > "libsndfile.so.1" can be automatically translated to "cygsndfile-1.dll". > > Unfortunately :cygwin is no define-foreign-library target, just :unix. > > Maybe. Do all cygwin Lisps push :CYGWIN onto their *FEATURES* like CLISP?
So far there is only clisp on the horizon. cygwin packages exist, but not supported by cffi and so such feature symbols: scsh, bigloo, ecl, guile gcl should theoretically work also, but I never tried that. > Regarding the naming convention, I suppose we could add a library > designator (or change :DEFAULT) that handles that. E.g.: (:lib "foo" > 2) would translate to "libfoo.so.2", "libfoo.2.dylib", "cygfoo-2.dll", > etc. Great! -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://spacemovie.mur.at/ http://helsinki.at/ _______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel