Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1 support for cygwin and clisp

closed-accepted
Leigh Smith
Portability (1)
5
2008-05-09
2008-02-18
Reini Urban
No

support for cygwin and clisp

Discussion

  • Reini Urban
    Reini Urban
    2008-02-18

    Logged In: YES
    user_id=13755
    Originator: YES

    clisp-2.44-1 for cygwin

    nlisp.lisp:
    (cffi:define-foreign-library libgslcblas
    (:darwin "libgslcblas.dylib")
    (:unix (:or "cyggslcblas-0.dll" "libgslcblas.so.0" "libgslcblas.so"))
    ...
    (cffi:define-foreign-library libgsl
    (:darwin "libgsl.dylib")
    (:unix (:or "cyggsl-0.dll" "libgsl.so.0" "libgsl.so"))
    ...
    (cffi:define-foreign-library libsndfile
    (:darwin "libsndfile.dylib")
    (:unix (:or "cygsndfile-1.dll" "libsndfile.so.1" "libsndfile.so"))

    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.

    nlisp-core.lisp:
    fixnum and double-float just name clisp types, no classes yet. This is just for cmucl/sbcl so far. CLHS does not require those.
    The clisp numeric classes are listed in the impnotes Chapter 4.4. (NUMBER, COMPLEX, REAL, FLOAT, RATIONAL, RATIO, INTEGER)

    Now (ASDF:OOS 'ASDF:LOAD-OP :NLISP) prints tons of FFI::FOREIGN-LIBRARY-FUNCTION warnings, but works fine.

     
  • Leigh Smith
    Leigh Smith
    2008-05-08

    • assigned_to: nobody --> leighsmith
     
  • Leigh Smith
    Leigh Smith
    2008-05-09

    Logged In: YES
    user_id=58051
    Originator: NO

    I've committed the changes to the Subversion repository.

     
  • Leigh Smith
    Leigh Smith
    2008-05-09

    • labels: --> Portability
    • status: open --> closed-accepted